News for hackers. Stuff that matters.
Re:Syntax is the last thing you should design by vidarh on Sunday March 05, 2017 @02:48AM (#13795042)
You can do that with parser generators too. But I agree, in that too many parser generators do things like generate tables instead. In the past I've written generators that generate recursive-descent parsers that mimic how I'd handwrite them, and that is a lot easier to debug than table based generated parsers.

But the reason I've not pursued that more is that once you've added in various exceptions, and tree building, and error checking etc., you're not saving all that much over just hand writing the thing entirely.

There are no comments on this comment yet.