4 ms·
what's wrong with BNF? as a language descriptor it's simple and concise, isn't it?
by cpill 6y ago
what's wrong with BNF? as a language descriptor it's simple and concise, isn't it?
- ChrisMarshallNY 6y agoIt's a great data description language, but was NOT fun to work with, semantically.
- afiori 6y agoContext free grammars are insidious to use in general. The natural way to use them is to either generate all/random legal strings or check if a string matches the grammar. Often what you want is instead to generate an AST, in that case you will run into ambiguosness problems.