[go: up one dir, main page]

Menu

Tree [b8a4cd] 4.0 /
 History

HTTPS access


File Date Author Commit
 .github 2024-07-24 Ulya Trofimovich Ulya Trofimovich [29d5c8] Update GitHub Actions config and CMake presets ...
 bazel 2024-02-22 Ivan Egorov Ivan Egorov [15f503] [bazel] Fix _re2c_impl
 benchmarks 2023-07-23 Ulya Trofimovich Ulya Trofimovich [0b6d0b] CMake: set C++17 standard for benchmarks that u...
 bootstrap 2024-11-19 Ulya Trofimovich Ulya Trofimovich [b8a4cd] Release 4.0.
 build 2024-11-18 Ulya Trofimovich Ulya Trofimovich [7f26ed] Makefile.am: avoid POSIX-incompatible pattern r...
 cmake 2024-11-14 Ulya Trofimovich Ulya Trofimovich [cf7e2c] CMake: align disabled warnings with configure.ac.
 doc 2024-11-13 Ulya Trofimovich Ulya Trofimovich [61c14c] Fix some typos in documentation.
 examples 2024-10-23 Ulya Trofimovich Ulya Trofimovich [857140] Examples: replace `re2c:api = default` with `--...
 fuzz 2022-06-12 Ulya Trofimovich Ulya Trofimovich [ac5c06] Remove staDFA algorithm.
 include 2024-10-29 Ulya Trofimovich Ulya Trofimovich [2228e8] Get rid of syntax configuration `code:type_cond...
 lib 2024-11-10 Sergei Trofimovich Sergei Trofimovich [c4e779] *.ypp: use api.prefix in all bison-generated pa...
 libre2c_old 2020-12-17 Tim Gates Tim Gates [fd84b6] docs: fix simple typo, otheriwse -> otherwise
 src 2024-11-13 Ulya Trofimovich Ulya Trofimovich [efc527] Fix Clang warning -Wweak-vtables.
 test 2024-10-31 Ulya Trofimovich Ulya Trofimovich [cffecf] Use C-tyle comments in .dot output regardless o...
 .gitattributes 2024-04-19 Ulya Trofimovich Ulya Trofimovich [197ff0] Move and rename backend specific tests.
 .gitignore 2023-04-25 helly25 helly25 [3205c8] Provide a min viable http://bazel.build integra...
 .gitmodules 2021-05-30 Ulya Trofimovich Ulya Trofimovich [f8f10c] Submatch Java benchmark: add REgen as a Git sub...
 .travis.yml 2021-07-25 Ulya Trofimovich Ulya Trofimovich [477f35] Travis CI: use Ubuntu 20.04 (Focal Fossa) to ha...
 BUILD.bazel 2023-04-25 helly25 helly25 [3205c8] Provide a min viable http://bazel.build integra...
 BUILD.md 2024-10-07 Ulya Trofimovich Ulya Trofimovich [d7c0cc] Update BUILD.md.
 CHANGELOG 2024-11-19 Ulya Trofimovich Ulya Trofimovich [b8a4cd] Release 4.0.
 CMakeLists.txt 2024-11-19 Ulya Trofimovich Ulya Trofimovich [b8a4cd] Release 4.0.
 CMakePresets.json 2024-07-24 Ulya Trofimovich Ulya Trofimovich [29d5c8] Update GitHub Actions config and CMake presets ...
 CONTRIBUTING.md 2024-09-26 Ulya Trofimovich Ulya Trofimovich [db1a4d] Update CONTRIBUTING.md.
 IDEAS.md 2024-02-25 Sergei Trofimovich Sergei Trofimovich [0fe50b] IDEAS.md: fix typo s/inforamtion/information/
 LICENSE 2019-03-04 Ulya Trofimovich Ulya Trofimovich [a64620] Moved LICENSE, README, NO_WARRANTY and CHANGELO...
 MAINTAINERS.md 2022-06-13 Ulya Trofimovich Ulya Trofimovich [dc8f26] Remove TDFA(0) algorithm.
 Makefile.am 2024-11-18 Ulya Trofimovich Ulya Trofimovich [7f26ed] Makefile.am: avoid POSIX-incompatible pattern r...
 Makefile.lib.am 2024-03-18 Ulya Trofimovich Ulya Trofimovich [07b014] Merge syntax.{h,cc} into opt.{h,cc} and get rid...
 NO_WARRANTY 2019-03-04 Ulya Trofimovich Ulya Trofimovich [a64620] Moved LICENSE, README, NO_WARRANTY and CHANGELO...
 README.md 2022-01-24 Ulya Trofimovich Ulya Trofimovich [f18ce1] Update README.md and BUILD.md.
 WORKSPACE 2023-04-25 helly25 helly25 [3205c8] Provide a min viable http://bazel.build integra...
 add-release.txt 2015-11-22 Ulya Trofimovich Ulya Trofimovich [708d89] Prepare release 0.15: updated release instructi...
 autogen.sh 2022-07-05 Sergei Trofimovich Sergei Trofimovich [243083] autogen.sh: drop dangerous 'git clean -dfx' com...
 configure.ac 2024-11-19 Ulya Trofimovich Ulya Trofimovich [b8a4cd] Release 4.0.
 release.sh 2024-11-19 Ulya Trofimovich Ulya Trofimovich [b8a4cd] Release 4.0.
 run_tests.py.in 2024-07-21 Ulya Trofimovich Ulya Trofimovich [bf61e0] Always apply default syntax file, but allow ove...
 sf-cheatsheet 2015-03-26 Ulya Trofimovich Ulya Trofimovich [89ea6c] Added text file 'sf-cheatsheet' to make some no...

Read Me

DESCRIPTION

re2c is a free and open-source lexer generator for C/C++, Go and Rust.

Its main goal is generating fast lexers: at least as fast as their reasonably
optimized hand-coded counterparts. Instead of using 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. re2c applies quite a few optimizations 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.

DOCUMENTATION

Official re2c website is re2c.org. It has a lot of examples.

DOWNLOAD

Release tarballs: https://github.com/skvadrik/re2c/releases

Source code:

$ git clone https://github.com/skvadrik/re2c.git
$ git clone https://git.code.sf.net/p/re2c/code-git

Github is the main repo, sourceforge is a mirror and can be slightly outdated.

CONTRIBUTING

re2c is an Open Source, community-driven project. See
CONTRIBUTING.md
for details about contributions to this repository.

BUILD

See BUILD.md or the online docs for
instructions how to build re2c.

FEEDBACK

Bugtracker:

Mailing lists:

  • re2c-general@lists.sourceforge.net
  • re2c-devel@lists.sourceforge.net

IRC channels:

  • irc.oftc.net/#re2c
  • irc.libera.chat/#re2c

You are welcome to ask for help or share your thoughts and ideas.

AUTHORS

re2c was originally written by Peter Bumbulis peter@csg.uwaterloo.ca. Since
then many volunteers have contributed to the project. The current maintainer is
Ulya Trofimovich skvadrik@gmail.com.