meevee98 / PNP

PNP is not Pseudocode
MIT License
0 stars 0 forks source link

Implement semantic of the While statement #8

Open meevee98 opened 4 years ago

meevee98 commented 4 years ago

While is one of the control flow statements that consists in the repetition of a block of instruction while the given Boolean condition is true.

This is the syntax of the while loop in the PNP language:

enquanto <condition> faca
    <block of instructions>
fim

The Java implementation that it's been refactored already have an implementation of the while statement. We have to refactor it to Kotlin too.