4 ms·
I want to look at the parser for the COBOL syntax, but I'm not sure if I'll ever be in a place emotionally to do so. Kudos to the folks that are writing the pa
by mkovach 3y ago
I want to look at the parser for the COBOL syntax, but I'm not sure if I'll ever be in a place emotionally to do so.
Kudos to the folks that are writing the parser!
- marktangotango 3y agoParsing cobol is actually not bad. The grammar is pretty simple; the "rail road" diagrams correspond to the recursive descent parser very directly. https://www.ibm.com/docs/en/cobol-zos/6.1?topic=division-identification https://www.ibm.com/docs/en/cobol-zos/6.1?topic=division-ide...
- mkovach 3y agoInteresting, I remember it be harder than that. But, when I had to write a basic parser during the Y2K storm, I was still a bit green in my programming skillsets. Hmm, yea. I guess I'll have to take a look and see how they handled it. Thanks for the link!
- GartzenDeHaes 3y agoYeah, IFAIK it's not LL1, LL2, nor even LL3.