As a part of my Compiler Lab course in S6, I built a compiler for a language called Expl. The machine code generated was run on the XSM machine. The code was written in C, using the lex tool for generating a lexical analyzer and the yacc tool for generating a parser. More details are available at https://silcnitc.github.io/
Properties of the language include
- Support for functions
- Support for dynamic memory allocation
- Support for Pointers and multidimensional array
- Support for structures
- Support for Classes
- Support for single inheritance (with subtype polymorphism and function overloadi