My goal is to create a parser which can be used to parse DBC files. The syntax of the fileformat is given here.
To achive this I choose the Lark-parser based on the excellent JSON parser tutorial.
I created a grammar file based on the above linked document and started the standalone parser generator script. Unfortunately it is still running after 30 minuetes and the process now consumes 7,5 Gb of memory. This is of couse not acceptable.
What could I do, so that it sucessfully generates the parser code?