2 ms·
The syntax shown is completely trivial, it should be parseable with about a dozen lines without using any generators, frameworks, libraries, string replacements
by barrkel 13y ago
The syntax shown is completely trivial, it should be parseable with about a dozen lines without using any generators, frameworks, libraries, string replacements, or anything else.
Unless I missed something.
- jmmcd 13y agoYou didn't miss anything. The point (or "the only point") is that he was able to reuse the language's own parser rather than writing any parsing code of his own. For anyone who hasn't seen that technique, it's worth seeing. Whether it's a win depends on taste maybe.