craff / pacomb

A parsing library that compiles grammars to combinators using elimination of left recursion
MIT License
18 stars 2 forks source link

Regexp.from_string bug #18

Closed craff closed 5 years ago

craff commented 5 years ago

Here is the failing regexp "\([ \r\t\026]\|\(\(#[^\n]\)\)"

craff commented 5 years ago

As ppx does not need pacomb libraries it self, there is not really a bootstrap problem to write a pacomb parser for regexp ...

craff commented 5 years ago

There are still pb of dependencies ... Regexp function in Lex should be moved in Regexp to make Regexp depend from Lex instead of the opposite.