Yes, that's right. I was unclear. I am intending to come up with a language that I can compile to C, to implement VM instructions. I meant I would compile something to C, not from it to machine code.
Just to clarify, it probably won't be a subset of Scheme (although one could compile a subset of Scheme to this language). I was thinking of something more like register transfer language, so the compiler will be very simple. Noah On Thu, Nov 11, 2010 at 11:26 AM, Ludovic Courtès <[email protected]> wrote: > Hi, > > Noah Lavine <[email protected]> writes: > >> On a completely different note, I'm now looking at writing a compiler >> for a subset of C, which could eventually become a JIT compiler. If we >> could attach your GLIL->C compiler to that, it could produce a full >> Scheme->machine code compiler in Guile. > > Interesting. I thought you were going rather to compile a subset of > Scheme to C, which could be used to implement VM instructions, no? > > Thanks, > Ludo’. > > >
