PyDijon is the reference interpreter for Dijon, an imperative, stack-oriented esoteric language with highly non-traditional control flow constructs. It is written in Python 3.8 and doesn't require any extra packages. For more information about the language itself, please follow the above link.
Please install Git and Python 3.8+.
The following shell code will set up the project. It will download this project from GitHub, download the language reference project into the lang
folder, then copy std.dij
into the dijon
folder.
git clone https://github.com/bluesun212/pydijon
cd pydijon
git clone https://github.com/bluesun212/dijon lang
cd lang/make_std
python3 make_std.py copy
The following command will run the file hello_world.dij
in the folder lang/examples/
:
python3 dijon -f lang/examples/hello_world.dij