Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 766 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 766 Bytes

The mini programming language

This is a general-purpose, low-level programming language that is created by educational purpose.

Build from source

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

Test compiler

The test directory contains test codes to test the compiler behavior.

You can run test with following command.

cd test && ./run.sh

Usage

Run below command to obtain executable.

mini FILENAME -o OUTPUT

See mini -h for more option.