Skip to content

v0.2.6

Compare
Choose a tag to compare
@mrLSD mrLSD released this 11 Nov 10:41
· 54 commits to master since this release
5ad44c2

After termination instructions return, break, and continue, if other instructions presented added errors to state.

This applies to statements

  • function-body
  • if-body
  • else-if-body
  • if-loop-body
  • else-if-loop-body
  • loop-body

Loops

🏁 Checked if the return instruction was present, then removed extra jump-to: loop-end, and set-label: loop-end. And added the tests.

  • #15 - Feat: after termination instructions return, break, continue do not allow other instructions (@mrLSD)
  • #10 - Feature: after termination instructions return, break, continue do not allow other instructions (@mrLSD)