Re: [proto] Other methods for embedding DSL in C++

2010-07-26 Thread joel falcou
On 26/07/10 21:36, Manjunath Kudlur wrote: If you have to do heavy-weight things like optimizing the generated AST, you got to anyway do it at runtime. You can still inspect the code, transform it, etc at runtime. (Note : I am not trying to defend the runtime retained execution model. I am a big

Re: [proto] Other methods for embedding DSL in C++

2010-07-26 Thread joel falcou
On 26/07/10 21:52, Eric Niebler wrote: I confess I'm having a hard time seeing how the code posted in Manjunath's original email could result in something that can be introspected at runtime. Does it generate byte code? A runtime polymorphic AST? And the JIT ... does it actually generate machine

Re: [proto] Other methods for embedding DSL in C++

2010-07-26 Thread Manjunath Kudlur
I confess I'm having a hard time seeing how the code posted in Manjunath's original email could result in something that can be introspected at runtime. Does it generate byte code? A runtime polymorphic AST? And the JIT ... does it actually generate machine code that then gets executed? At

Re: [proto] Other methods for embedding DSL in C++

2010-07-26 Thread joel falcou
On 26/07/10 22:12, Eric Niebler wrote: Convincing people of what in your article? That C++ EDSL are good thanks to templae meta-programming in general That compile-time introspection is a Good Thing? Among other What are the complaints you hear most often? It's C++ ?!? Why not making a real