Comment by Koshkin
4 years ago
I once wrote a set of macros to emulate the syntax of Oberon, and then used that to write some code that could later be easily converted to real Oberon. It was a fun exercise - highly recommended.
4 years ago
I once wrote a set of macros to emulate the syntax of Oberon, and then used that to write some code that could later be easily converted to real Oberon. It was a fun exercise - highly recommended.
Do you mean this?
1) Write CPP macro language to emulate Oberon syntax.
2) Write program in the above macro language.
3) This program looks like Oberon but we now have two ways of "compiling" it; a) Feeding it to the CPP/C Compiler or b) Feeding it to the Oberon compiler directly with a little bit of tweaking.
Have i understood it correctly?
Yes, you have.