Skip to content
Sections
>> Trisquel >> Packages >> aramo >> devel >> re2c
etiona  ] [  nabia  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ]
[ Source: re2c  ]

Package: re2c (3.0-1)

lexer generator for C, C++, Go and Rust

re2c's main goal is generating fast lexers: at least as fast as their reasonably optimized hand-coded counterparts. Instead of using a traditional table-driven approach, re2c encodes the generated finite state automata directly in the form of conditional jumps and comparisons. The resulting programs are faster and often smaller than their table-driven analogues, and they are much easier to debug and understand. Quite a few optimizations are applied in order to speed up and compress the generated code.

Another distinctive feature is its flexible interface: instead of assuming a fixed program template, re2c lets the programmer write most of the interface code and adapt the generated lexer to any particular environment.

Other Packages Related to re2c

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgcc-s1 (>= 3.3.1)
    GCC support library
  • dep: libstdc++6 (>= 11)
    GNU Standard C++ Library v3

Download re2c

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 445.6 kB3506 kB [list of files]