On Mon, Sep 15, 2014 at 12:31 PM, phil@highoctane.be <phil@highoctane.be> wrote:
On Mon, Sep 15, 2014 at 11:33 AM, Serge Stinckwich <serge.stinckwich@gmail.com> wrote:
On Mon, Sep 15, 2014 at 11:28 AM, Santiago Bragagnolo <santiagobragagnolo@gmail.com> wrote:
I may be wrong, but I think the closest thing out there is Slang. Is the pseudo smalltalk used to develop the VM.
Also there is a project for generating C for arduino, (a project related with EToys), but i am not sure about how complete is.
Both are subset of Smalltalk. This is best path to follow I guess: define your own DSL for your needs and implement a visitor to do code generation. We have done that for epidemiological modeling.
Or combine both: visitor which uses CCodeGenerator for emitting the result.
Yes, interesting idea, instead of generating strings! -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/