GithubHelp home page GithubHelp logo

stephenwassellsophos / re2c Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skvadrik/re2c

0.0 0.0 0.0 100.32 MB

Lexer generator for C, C++, Go and Rust.

Home Page: https://re2c.org

License: Other

Shell 0.04% JavaScript 0.01% C++ 11.11% Python 0.06% C 86.35% PHP 0.01% Java 1.19% Haskell 0.08% Go 0.01% Rust 0.03% TeX 0.03% Makefile 0.05% CMake 0.10% M4 0.01% Roff 0.82% Ragel 0.11% Reason 0.01% Starlark 0.01%

re2c's Introduction

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:

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 [email protected]. Since then many volunteers have contributed to the project. The current maintainer is Ulya Trofimovich [email protected].

re2c's People

Contributors

skvadrik avatar sergeyklay avatar trofi avatar dnuffer avatar pskocik avatar raekye avatar pauloscustodio avatar helly25 avatar jcfp avatar ligfx avatar nightlark avatar s-yasu avatar unixod avatar floppym avatar rossburton avatar zenwerk avatar fanf2 avatar timgates42 avatar samebchase avatar ryandesign avatar pmetzger avatar certik avatar otaran avatar metab0t avatar egorich239 avatar lamby avatar biswa96 avatar alexkval avatar tmiad2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.