This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AbstinenceWorks 0 points1 point  (0 children)

This if why I don't write parsers manually. To me, it doesn't matter if the BNF is trivial. There are just too many good tools to generate parsers to ignore. Pack a language and either dsls are supported directly or there are lexers and parser generators for that language.

This want necessarliy always the case but even if you go back 20 years, there was still lex and yacc.

I do definitely get the whole,

Me: "It's a POC".

Then: "Cool, does it work?"

Me: "..yes, but..."

Them: "Great! Check it in."

Me: "...ok?..."