Breadstick Get it on Google Play

re2c

lexer generator for C, C++, Go, Java, Python, Rust, and others

Command lineDevelopment

Install

Not tested on a device yet. What that means

Commands in the package

  • re2c
  • re2d
  • re2go
  • re2hs
  • re2js
  • re2ocaml
  • re2py
  • re2rust
  • re2v
  • re2zig

About re2c

From Debian's package description

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.

Supported languages in this release are C, C++, D, Go, Haskell, Java, JS, OCaml, Python, Rust, V and Zig.

From Debian's description of the re2c package, under that package's license.

Dependencies

Depends on

  • libc6
  • libgcc-s1
  • libstdc++6

Related apps

All Linux development tools

Sources and licenses

  • Name: the Debian package name.
  • Summary: Debian's short description of the re2c package, under that package's license.
  • Description: Debian's description of the re2c package, under that package's license.
  • Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
  • Popularity: Debian Popularity Contest counts.

More in About the catalog.