Commit Graph

209 Commits

Author SHA1 Message Date
Dummi26
05ecc809c3 - fixed a bug with switch syntax closing brace being recognized twice by the parser
- writing to a variable when the type that is being written doesn't fit will shadow the variable to prevent weird issues where a variable would be changed to a different type from within a block, then after that block it would still have data of that type but its type wouldn't reflect this, causing switch! to miss some cases. might remove shadowing in the future, who knows.
- added run_command_get_bytes
2023-03-12 13:14:18 +01:00
Dummi26
369b37371c adjusted list syntax to be [<content> ...] to create a visual difference from tuples, which don't have the ... before the ]. 2023-03-12 12:43:21 +01:00
Dummi26
ff1f487a6f updated output format, added script/builtins.rs 2023-03-12 12:35:45 +01:00
Dummi26
6da8a77304 fixed some bugs 2023-03-10 13:44:18 +01:00
Dummi26
efff8c1d70 . 2023-03-09 18:51:58 +01:00
Dummi26
f2d176e0dd added another example to the readme, showing switch statements 2023-03-09 13:26:54 +01:00
Dummi26
63721b9e26 initial code commit, implemented switch statements and if-else syntax. 2023-03-09 13:24:52 +01:00
Dummi26
bb2f4b541c initial code commit. variables, functions, basic multithreading works. missing a lot of builtins and possibly operators (+-*/). good proof of concept for now. 2023-03-08 22:19:51 +01:00
Mark
e8a02a8b30
Create README.md 2023-03-07 16:10:48 +01:00