Control Flow & Logic
Release 0.8.0 — Control Flow & Logic
I've updated the interpreter to handle control flow and logical operations. It can now make decisions and loop through code, moving closer to a complete language.
What I implemented:
- Control Flow: Added
if-elsestatements for conditional execution. - Loops: Implemented
whileandforloops. - Logical Operators: Added
andandoroperators with short-circuit evaluation.
I also added unit tests to verify that these control structures and operators work correctly.
Full Changelog: v0.7.0...v0.8.0