News for hackers. Stuff that matters.
Re:Writing parsers like it is 2017 by aidenn0 on Tuesday August 15, 2017 @11:52AM (#15019324)
The only parser combinator library I used (smug, for common lisp) had little trouble with breakpoints; (any parse with significant backtracking was annoying but breakpoints worked fine) is it common that one cannot use breakpoints for debugging in other parser-combinator libraries?
Re:Writing parsers like it is 2017 by bd82 on Tuesday August 15, 2017 @12:33PM (#15019729)
I'm not familiar with Smug, but I would guess that the combinator is implemented using LISP macros which are than expanded into "real" source code (lisp lists) which is evaluated directly and can halt on break points.

In programing languages which do not have true macros The combinator API normally creates a data structure representing the grammar which is than interpreted Which usually makes debugging harder and the parsing slower.