pfmiles / dropincc.java

A small and easy to use parser generator. Specify your grammar in pure java and compile dynamically. Especially suitable for DSL creation in java.
92 stars 28 forks source link

regex used by lexer should be bootstraped #12

Open pfmiles opened 12 years ago

pfmiles commented 12 years ago

the initial version of dropincc.java uses java built-in regex implementation to do lexing. but it does not support named capturing groups and 'longest match among groups' feature, it should be bootstraped after initial version of dropincc.java released.

pfmiles commented 12 years ago

'Longest match among groups' means choose the longest matching from the groups matched at the same time, when matched the same length of lexeme among multiple groups, choose the earlier defined one.

pfmiles commented 11 years ago

0.3.0