2 ms·
I’ve had a very different experience. I can think of three occasions where I was able compare a hand written parser with something built using a parser generato
by ch4s3 3y ago
I’ve had a very different experience. I can think of three occasions where I was able compare a hand written parser with something built using a parser generator or similar tool. In two of those cases, the hand written code was far easier to read and modify. This kind of code can also be easier to test.
Parser generators aren’t a free lunch and they vary considerably in quality.
- valenterry 3y agoMaybe we talk about two different things. I'm talking about libraries that help you write a parser. Those are not tools, there is no extra build-process involved or anything like that.