freebsd-ports/devel/re2c/pkg-descr
Eivind Eklund a070b1eb31 Initial import of re2c, a program to compile regular expression to C.
This is basically the same concept as lex, except this time it doesn't
turn your code inside out, and it generates actual C code to parse the
expressions (not tables), and the resulting code is usually about 2
times faster than flex.
1998-05-16 17:41:25 +00:00

6 lines
405 B
Text

re2c is a tool for generating C-based recognizers from regular
expressions. re2c-based scanners are efficient: for programming
languages, given similar specifications, an re2c-based scanner is
typically almost twice as fast as a flex-based scanner with little or no
increase in size (possibly a decrease on cisc architectures). Indeed,
re2c-based scanners are quite competitive with hand-crafted ones.