danielzsh / nano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nano

nano has rich yet readable syntax, and can read from both a console and a file.


Beautiful Syntax:

assign statement:

assign 0 to x

print statement:

print('The value of x is:', x)


Structure:

# function defintions (WIP)
start # mark start of main program
# statements

Check the samples folder for sample programs.


Usage:

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.

  1. ./nano: opens a repl
  2. ./nano program.nn: runs file

About


Languages

Language:C++ 98.6%Language:CMake 1.0%Language:Shell 0.4%