[fpc-devel] Where are parser sources?
Michael Van Canneyt
michael at freepascal.org
Fri Jan 4 17:12:23 CET 2013
On Fri, 4 Jan 2013, Hans-Peter Diettrich wrote:
> Nicholas Ring schrieb:
>>
>> 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?
>
> Perhaps pparser.pp will be helpful?
> It's used by LazDoc (and Lazarus IDE?)
It's probably easier to restore the grammar from pparser than from the compiler sources.
Michael.
More information about the fpc-devel
mailing list