Implement Control Flow Statements in Kym #37

Merged
kayomn merged 8 commits from kym-control-flow into main 2023-08-26 00:01:25 +02:00

8 Commits

Author SHA1 Message Date
77af4d067b Fix > and == operators being miscompiled
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-08-25 22:57:33 +01:00
c4916a4195 Clean up statement AST generation logic 2023-08-25 22:45:48 +01:00
08a63489b0 Add if / else 2023-08-24 23:45:29 +01:00
bb1e689c5a Add while loops
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-08-22 23:49:23 +01:00
eca2cfffb8 Fix off-by-one if statement jump error
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-08-21 23:51:49 +01:00
56d9899ac2 Work around miscompilation 2023-08-21 12:27:02 +01:00
0d6e5250c7 Refactor Kym AST
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-08-20 22:25:38 +01:00
2d016dc085 Implement if statements in AST and jumps in the VM
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-08-20 17:41:57 +01:00