3 ms·
Hmm yeah, I can see how visual differentiation of the functions from symbols and macros could help readability. The base grammar minus macros and functions is
by kstenerud 4y ago
Hmm yeah, I can see how visual differentiation of the functions from symbols and macros could help readability.
The base grammar minus macros and functions is mostly like any other BNF, and so would have its strengths and weaknesses when it comes to describing a language vs a format.
The main inspiration for this was because I couldn't describe CTE and CBE (whose grammars are listed above). I also tried it out describing IPV4 (also listed above).
I'll probably try describing something like protobufs or PNG or something like that to see how well it fares, but for now I'm interested in peoples immediate reaction to it in case there are glaring problems.