Re: Object-oriented preprocessor

new topic     » goto parent     » topic index » view thread      » older message » newer message

I have have added scoping to the Class preprocessor: http://jean-marc.duro.pagesperso-orange.fr/oop_demo.zip

Now, classes can be used in modules. Using OEU -p oex:preprocessor.ex main.oex automatically translates not only the main file but also included files.

I had to understand how -p option works. Lines referring to includes files to be preprocessed have to be renamed with extension .pp.oex only at the end of the preprocessing. See the preprocessor code (deferred_includes).

Now I will adapt the demo\win32 examples of OEU. This will be in another thread when available and could be a basis for a new win32lib_r2.oex.

As the preprocessor leaves translated files in place, users will have to versions available: OOP style and translated version.

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu