Arith is a simple interpreter for a pascal-like language. It's built in Nim for efficiency and simplicity.
# Install nim:
curl https://nim-lang.org/choosenim/init.sh -sSf | sh # And follow the instrunctions
# After installation, add nim and it's utilities to your PATH environment variable:
# For bash users
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.nimble/bin:$PATH"
# For fish users
set --export PATH "$HOME/.local/bin/" $PATH
set -ga fish_user_paths $HOME/.nimble/bin
It's simpler here! Download and extract nim to a folder then add it to PATH using the environment variables utility.
More instructions here: Install nim on windows
git clone https://github.com/Frusadev/Arith.git
cd Arith
nimble build -d:release
# Run
./arith
- Implement basic arithmetic
- Variable and block declarations
- Custom types (objects)
- Conditions
- Loops
- Function declarations and call