Commit graph

8 commits

Author SHA1 Message Date
b717b91ee5 implemented function calls 2024-08-28 17:29:36 +02:00
be28dad67e moved for loop to separate Stmt and added continue 2024-08-27 17:15:35 +02:00
e288a626fd implemented break 2024-08-27 02:46:17 +02:00
3bc871d434 implemented while and for loops 2024-08-27 01:57:47 +02:00
dbcdbc216f added If, And, Or 2024-08-26 17:26:59 +02:00
77e57cd8c2 global and local variables with scope
also reworked arg parsing, now has --debug flag
2024-08-26 01:58:03 +02:00
b4e25ee561 fixed parser bug by filtering out all comments 2024-08-25 03:07:18 +02:00
ea0d7acbee started implementing expressions
Parser.parse now return list of statements or list of errors.
parsing continues until EOF, even when errors are found; but after the
first error the result can only be Error.
Also implemented Print and Expr statements.
2024-08-25 02:12:51 +02:00