osa1 / lexgen

A fully-featured lexer generator, implemented as a proc macro
MIT License
63 stars 7 forks source link

Implement char exclusion #33

Closed osa1 closed 2 years ago

osa1 commented 2 years ago

Implements new syntax <re1> # <re2> for matching characters in <re1> that are not in <re2>. <re1> and <re2> should be "character sets", i.e. *, +, ?, concatenation, strings, and $ are not allowed.

Fixes #24