News for hackers. Stuff that matters.
Re:The Packrat Parsing and Parsing Expression Grammars Page by vidarh on Monday February 21, 2022 @05:04PM (#30421230)
It's fascinating how many times the Prolog cut operator has been borrowed into parsing. It shouldn't be surprising, probably, given how easily lookahead leads people down the path of some backtracking mechanism or other for ease of implementation, and how ingrained the idea of a cut to stop backtracking is if you've ever been exposed to Prolog...

There are no comments on this comment yet.