> > As there was some positive feedback to the idea of creating our own > compiler, I have gone ahead and started a new project on Github and > created an initial design document on how I think it might work. I've > taken the liberty of giving it the code name "Goshawk." If you are > curious as to why, google for details on animals that predate upon > falcons ;) > > You can take a read up on my ideas so far at > https://github.com/DavidArno/Goshawk/blob/master/documents/Goshawk > compiler initial ideas.pdf?raw=true (shortform: http://is.gd/94rcIb) > > the project is https://github.com/DavidArno/Goshawk should you feel the > urge to fork it and help out. >
Hi David, not to throw a spanner in the works immediately but I was wondering if you could consider a different parser from ANTLR. There is a project called Goldparser: http://goldparser.org/ >From what I understand this thing is the fastest on the block, faster than ANTLR, but I also admit that I haven't got real first-hand experience with it. I played around with the C# port for a while when I had the insane idea to try and build an AS3 compiler in C#. Too bad up until now I still don't seem to get my head around building a decent grammar for a language ;( At one time there was even an AS3 port of Goldparser, but I can't seem to find the link anymore. But that isn't relevant for this instance anyways. I'll go and check out your github project some more now ;) cheers, Roland