News for hackers. Stuff that matters.
Re:Parser generators vs. handwritten parsers: surveying majo... by fjfaase on Saturday August 21, 2021 @03:43PM (#28259923)
I implemented an unparse function in IParse, which is not a parser generator, but a parser that interprets a grammar. See for example https://github.com/FransFaase/IParse/blob/master/software/c_... where symbols starting with a back slash are a kind of white space terminals during the unparse. For example, \inc stands for incrementing the indentation where \dec decrements it. The \s is used to indicate that at given location a space should be included.

There are no comments on this comment yet.