Tool for generating C-based recognizers from regular expressions

Edit Package re2c

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-3.0.tar.xz 0001441456 1.37 MB
re2c.changes 0000017933 17.5 KB
re2c.spec 0000002229 2.18 KB
Revision 4 (latest revision is 5)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 4)
- update to 3.0:
  - Added code generation backend for Rust:
  - Added options:
    + ``--loop-switch``
    + ``--no-unsafe``
  - Added configurations;
    + ``re2c:label:yyloop``
    + ``re2c:unsafe``
  - Renamed options to use common naming scheme. The old names are supported as
    aliases, so the change does not break existing code. Documentation has been
    updated to use new names.
    + ``--api`` is a new alias for ``--input``
    + ``--ebcdic`` is a new alias for ``--ecb``
    + ``--ucs2`` is a new alias for ``--wide-chars``
    + ``--utf32`` is a new alias for ``--unicode``
    + ``--utf16`` is a new alias for ``--utf-16``
    + ``--utf8`` is a new alias for ``--utf-8``
    + ``--header`` is a new alias for ``--type-header``
  - Renamed configurations to use common naming scheme and support proper scoping
    under subcategories such as ``:define``, ``:label``, ``:variable``, etc. The
    old names are supported as aliases, so the change does not break existing
    code. Documentation has been updated to use new names.
    + ``re2c:api`` is a new alias for ``re2c:flags:input``
    + ``re2c:bit-vectors`` is a new alias for ``re2c:flags:bit-vectors``
    + ``re2c:case-insensitive`` is a new alias for ``re2c:flags:case-insensitive``
    + ``re2c:case-inverted`` is a new alias for ``re2c:flags:case-inverted``
    + ``re2c:case-ranges`` is a new alias for ``re2c:flags:case-ranges``
    + ``re2c:cond:prefix`` is a new alias for ``re2c:condprefix``
    + ``re2c:cond:enumprefix`` is a new alias for ``re2c:condenumprefix``
    + ``re2c:computed-gotos`` is a new alias for ``re2c:flags:computed-gotos``
Comments 0
openSUSE Build Service is sponsored by