Closed mingodad closed 2 years ago
@mingodad, thank you for the feedback. I tried to make the cpp-httplib PEG parser syntax as faithful as the one described on the 2nd page in the original Bryan Ford paper, but the enhancement that you suggests looks reasonable. I'll consider to take the suggestion. Thank you.
Another missing feature are some escape sequences like \v
, \f
, ...
Char <- '\\' [abefnrtv'"[\]\\^]
\v
, \f
are same as #87.
Trying to parse a valid
peg
grammar withcpp-peglib
I found that it doesn't accept the charset class shown bellow:Playgound output:
Changing
Range
to the one shown bellow fix the issue:Hardcoded fix in
peglib.h
: