using a c++ interpreter as a macro system

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rasm

    using a c++ interpreter as a macro system

    What do you think of using a c++ interpreter as a more advanced macro
    system? Has it been done? It would be nice to be able to use c++ to
    manipulate c++ code as data before compile time. Like you do with lisp or
    tcl but still maintaining c++ speed.


  • alex goldman

    #2
    Re: using a c++ interpreter as a macro system

    Rasm wrote:
    [color=blue]
    > What do you think of using a c++ interpreter as a more advanced macro
    > system? Has it been done? It would be nice to be able to use c++ to
    > manipulate c++ code as data before compile time. Like you do with lisp or
    > tcl but still maintaining c++ speed.[/color]

    Woah! An enlightened one, around these parts! :-)

    Yes, it's been done. Look up OpenC++.

    Comment

    Working...