[fpc-pascal] Object Pascal Grammar in EBNF like style

Graeme Geldenhuys graeme at geldenhuys.co.uk
Thu Mar 21 19:42:57 CET 2013


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.

Known omissions I must still add:

 * Generics
 * Type Helpers


Is there a wiki pages which lists all new language features and syntax
for FPC 2.6.2?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the fpc-pascal mailing list