nano has rich yet readable syntax, and can read from both a console and a file.
assign 0 to x
print('The value of x is:', x)
# function defintions (WIP)
start # mark start of main program
# statements
Check the samples
folder for sample programs.
You must download the nano file from this repository first
(You may need to run chmod +x ./nano
if you get any errors).
Otherwise, download the repository and run ./compile.sh
.
./nano
: opens a repl./nano program.nn
: runs file