Is there a parser code or parser component for Delphi or a program that will accept BNF (Backus-Naur Form) notation as input and output Delphi (or pascal) code for parsing?
The reason for this is that I am going to completely disassemble the data sets, following the different versions of the GEDCOM standard (used for genealogy), and they will need to process the file from state to state upon reaching the tokens. I would prefer an automatic program to do the hard work of setting up the base pascal code to make a state to handle the state for me.
Otherwise, I will have to manually build state structures myself.
I saw the following question (and TinyPG looks good, but I need Delphi code): Parser-generator that outputs C # using BNF grammar?
If there is no such beast, are there other available tools to facilitate this task?
parsing delphi code-generation bnf gedcom
lkessler
source share