Hello.
In order to get translations from FPC to Ada language, I have updated P2Ada translator http://sourceforge.net/projects/p2ada. I add a new ObjP2Ada branch.
The grammar is based on:
reference guide for Free Pascal (FPC), version 2.2.4, March 2009 programmer's guide Turbo Pascal (TP), version 7.0, 1992 /user manual Think Pascal (THP), version 4.0, 1990 Code Warrior Pascal (CWP) language reference manual, version 11, 1998 Delphi Object Pascal Language Guide, version 7, 2002
I made a specific version of grammar with only syntax elements http:// blady.pagesperso-orange.fr/telechargements/p2ada/fpc-nov09.y This file is yacc compatible.
It would be a great help if someone can check it versus FPC. In the other hand, it may helps FPC developers to have a grammar summary for documentation.
Thanks, Pascal.
http://blady.pagesperso-orange.fr
