- Clone the repository
- Run
make
andsudo make install
to build the interpreter and install it in/usr/local/bin
- Get Linux
- See ^
(or download the prebuilt .exe
)
See the examples
directory for a selection of Example programs
Once the interpreter was installed and you're in the root of the repository,
execute zb fibonacci.zb 4
to execute the fibonacci.zb
program and passing
4 as the value for x1
since it's actually a considerably bigger amount to implement ZHAW's strange behavior around semicolons, my interpreter just expects them on every assign line.