Re: Seeking advice on front ends

2007-02-10 Thread Rafael EspĂ­ndola
Did I miss anything? What are the relative advantages of each solutions? Do you think that I overlooked other options? Would using an exiting virtual machine be a good option? Except for Nice, this option doesn't seem to be popular; there must be a catch. You might want to have a look at

Seeking advice on front ends

2007-02-04 Thread Yannick Gingras
Hi, I'd like to write a small language. This would be my first language and I'm faced with several implementation options. I have a hard time raking them so I'd like to ask advice from the GCC users and developers. The language will feature dynamic typing, lexical closures and garbage

Re: Seeking advice on front ends

2007-02-04 Thread Paul Brook
My options code generations are more or less: 1) Code an interpreter 2) Build the parse tree in GCC's native format and let GCC generate the code 3) Generate annotated C and call GCC on that. 3b) Generate ISO C. Compile with $(CC). 4) Convert your internal (parse) trees into