3 ms·
Sorry for asking such dub question, but what's a PEG library?
by iagovar 7y ago
Sorry for asking such dub question, but what's a PEG library?
- tejtm 7y agoParsing expression grammar; It is a recursive decent parser with the tiny tweak that productions are ordered (not a set) and short circuit. A 90's language you did not have to imagine that saved you from regex in this way was[is] REBOL with it built in `parse` dsl. examples here http://www.rebol.org/search.r?find=parse&form=yes http://www.rebol.org/search.r?find=parse&form=yes [0]https://en.wikipedia.org/wiki/Parsing_expression_grammar https://en.wikipedia.org/wiki/Parsing_expression_grammar [1]http://www.rebol.com/ http://www.rebol.com/
- chrisjc 7y agoNo idea... had to look it up. Parsing Expression Grammar. https://en.wikipedia.org/wiki/Parsing_expression_grammar https://en.wikipedia.org/wiki/Parsing_expression_grammar