Tool for generating C-based recognizers from regular expressions

Edit Package re2c
http://re2c.org/

re2c is a tool for writing fast and flexible lexers. Unlike other such
tools, it concentrates solely on generating efficient code for matching
regular expressions. This makes it suitable for a wide variety of
applications. The generated scanners approach hand-crafted ones in
terms of size and speed.

Refresh
Refresh
Source Files
Filename Size Changed
re2c-2.0.2.tar.xz 0001292972 1.23 MB
re2c.changes 0000009919 9.69 KB
re2c.spec 0000002140 2.09 KB
Revision 37 (latest revision is 48)
Peter Simons's avatar Peter Simons (psimons) accepted request 826191 from Paolo Stivanin's avatar Paolo Stivanin (polslinux) (revision 37)
- Update to version 2.0.2:
  * Go backend. The new Go code generation backend can be used either
    with a --lang go re2c option, or as a standalone re2go binary 
  * Free-form generic API. Generic API now supports two styles
  * Improved reuse mode and start conditions
  * Backwards incompatible changes:
    + Generic APIs YYSHIFT/YYSHIFTSTAG/YYSHIFTMTAG have been added
    + Generic APIs YYSTAGPD/YYMTAGPD have been removed
    + The re2c:flags:type-header option now treats the header filename
      as relative to the output directory
    + Some internal labels have been renamed, in particular the
      yyFillLabel prefix has been replaced with yyfill
Comments 0
openSUSE Build Service is sponsored by