This looks interesting! What exactly is it and how does it work? Hope you have the time to write a few lines about the project?
This was my first project on, some kind of, (pre)compiling. It Compiles (very) basic C++ classes to LiteC ( a C derivation from Conitec) and added some additions like “for each”.
Classes are transformed to structs with function-pointers. Which allows i.e. Class-Inheritance and virtual-methods.
Here is an old thread where i described the progress a bit more(some examplecode, too)
However, the code is a pure mess. This project taught me, why it’s so important to use a lexer! Later projects had a huge benefit from what went wrong in this one.
If you have any questions, ask me 🙂
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.