This is a general-purpose, low-level programming language that is created by educational purpose.
At first, close this repository with --recursive
option and enter the repository.
git clone --recursive https://github.com/pogyomo/mini.git
cd mini
Then, create a build
directory, and initialize it with cmake
.
mkdir build && cd build && cmake ..
Finally, run make
to build executable binary.
make
The test
directory contains test codes to test the compiler behavior.
You can run test with following command.
cd test && ./run.sh
Run below command to obtain executable.
mini FILENAME -o OUTPUT
See mini -h
for more option.