Skip to content

Feature flow control grammar

Created by: phddoom

Problem: Address #119 (closed) and #158 (closed)

Solution: Push if else for fn end statements into the grammar / parser.

Changes introduced by this pull request:

  • Expanded Statement Enum
  • Comparitor Enum for handling if statement comparisons
  • Added tests for parsing new statements

Drawbacks: I am not fluent in Rust yet so the code might not be idiomatic Rust.

TODOs:

  • Remove commented code
  • Remove dead code
  • Refactor for more Rustic feel

Fixes: #119 (closed) and #158 (closed)

State: WIP

Blocking/related: None currently known

Other:


Merge request reports