[fpc-devel] Where are parser sources?
Nicholas Ring
nring at southcom.com.au
Fri Jan 4 10:28:25 CET 2013
On 4/01/2013 7:10 AM, Andrzej Borucki wrote:
> 2013/1/3 Jonas Maebe <jonas.maebe at elis.ugent.be
> <mailto:jonas.maebe at elis.ugent.be>>
>
> The parser is a manually written recursive-descent parser. There
> is no formal grammar.
>
>
> Thanks. It is possible restore EBNF grammar from this sources? It is
> difficult, is anywhere definitions?
> I found:
> http://www.geocities.ws/robertzierer/Grammar.html
> http://bernhard.userweb.mwn.de/Pascal-EBNF.html
> http://www.felix-colibri.com/papers/compilers/pascal_grammar/pascal_grammar.html
I have also found the following:
http://dgrok.excastle.com/Grammar.html
http://goldparser.org/grammars/index.htm
But nothing that does generics.
There is also: https://github.com/jacobthurman/Castalia-Delphi-Parser
but I don't know how compatible it is with FreePascal and from I last
heard, doesn't handle generics..
Cheers,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130104/18a3bbcc/attachment.html>
More information about the fpc-devel
mailing list