In our previous episode, Marco van de Voort said: > > Does such grammar exist? > > Not within FPC/Lazarus project, since those use handcrafted recursive > descent parsers. So that means websearch, and then your search is as good as > mine. > > The manual of older Delphi versions had a grammar for documentation (not > use!) purposes, and many only Object Pascal grammars will be based on that, > so check licensing of what you find thoroughly if you need it for a > commercial setting.
When I searched I saw a new entry, reportedly for XE7: https://github.com/fabriciocolombo/sonar-delphi/blob/master/src/main/antlr3/org/sonar/plugins/delphi/antlr/Delphi.g _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal