"Mattias Andersson" <✉centaurix.com> wrote in message news:✉forums.codegear.com...
> 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
Hi Mattias, Slightly off topic here, but would you be willing to share your DCG-based compiler generator now?
I am really into parser/compiler generators right now LOL
if so, fee free to email me (paulfnicholls AT gmail DOT com)...
I quite understand if you don't want to share till you are ready though :)
cheers, Paul