Introduction : SPL (System Programmer’s Language) Compiler is used in the implementation of an operating system on XSM (eXperimental String Machine). The compiler compiles the code written in SPL and translates it into machine code which is simulated on the machine.
• GCC (GNU project C and C++ compiler)
• Flex / Lex (Fast Lexical Analyser Generator)
• Bison / Yacc (GNU Project Parser Generator)
Run the following commands to compile and run the SPL compiler:
make
./spl <path-to-file>