gareth wrote: Sounds cool! Are you gonna share the code?
Unfortunately I'm developing this as part of a commerical product and will not be releasing the goods! Mozilla's Rhino is a JS tokenizer/parser/interpreter written in Java which is quite nice (and free). If you are new to compilers take a look at the Purple Book is very helpful. The book is built around written a tokenizer, parser, and code generator for TinyC a made up computer language similar to C. A great way to see how to design compilers. RE: Now that's innovation! |