[fpc-pascal] Object Pascal Grammar in EBNF like style
Michael Van Canneyt
michael at freepascal.org
Fri Mar 22 14:29:14 CET 2013
On Thu, 21 Mar 2013, Graeme Geldenhuys wrote:
> Hi,
>
> I'm putting together a EBNF like syntax [not strictly EBNF] for the
> Object Pascal grammar, as implemented by Free Pascal, using the {$mode
> objfpc} compiler mode.
>
> I'm basing the work on FPC 2.6.2 (latest released compiler). The Object
> Pascal grammar starts at line 5374.
>
> https://github.com/graemeg/fpGUI/blob/master/docs/fpc_lang_ref.ipf
>
> Any input or corrections will be much appreciated.
Hm.
That looks dangerously much, almost verbatim, like the appendix A of the
Delphi language guide as found in the D7 manual.
Michael.
More information about the fpc-pascal
mailing list