Roman Kassebaum wrote:
> So, you are implementing the compiler with C, aren't you? Shame on > you! :-) > > Why don't you use the best language in the world? ;-)
There aren't a lot of good lexers and compiler generators available in Object Pascal unfortunately**. One notable exception was DCG by Mike Lischke, but it was also quite bug-ridden. My own implementation, which is based partially on DCG, works perfectly however and it allows you to implement any parser of your own choice (personally I think it's a much better alternative then the traditional Lex & YACC). I'm planning to make it public at some point, but at the moment this is *not* at the top of the list.
** I can't say if this is the reason they use C for the implementation.
Mattias