Lexer, Parser, Interpreter, and Compiler (to nasm) writtin in nim for a incomplete language. This will not be finished but may demonstrate how to do some of these things.
Look at the code in tests to see how it works
Any code with functions defined will only run in the interpreter
Syntax
-Space based
- fn -> Create a function
-
- -> add
- -> add
-
- -> subtract
- -> subtract
- := -> Bind the value of one variable to others which allows for reactive properties (Ex. a = 5, b = 3, c := a + b, a = 1, c's value will change)
- echo -> print to screen
- func_name() -> call a function