A general purpose compiler and compiler framework for the Craft programming language
The Craft compiler repository uses the submodule MagicOMF that was written for this project. When cloning you must specify the --recursive flag or MagicOMF may not be downloaded.
Command to clone: git clone --recursive https://github.com/nibblebits/craft-compiler
OMF(Object Module Format)
8086 processor
Binary linker
MS-DOS - (You can use the DOSBOX emulator to run your executable)
Bootable executable (no operating system required)
Currently only Windows is supported, please download Cygwin and install the g -14 compiler and the "make" Cygwin packages. Once installed ensure that your environment PATH variable is set to the "bin" directory of Cygwin.
Once your ready open Cygwin terminal and navigate to the root directory of Craft Compiler and then do the commands:
make clean
make release
This will clean the project of object files and then rebuild the compiler in release mode.
If you wish to have debugging information provided to you when running the compiler then please build the compiler with the commands:
make clean
make debug
You will not really need to build the compiler in debug mode unless you are working on the compiler to improve the project "make release" should be efficient.
You do not always need to use "make clean" only when you want to do a full rebuild.