https://github.com/refi64/rejit
A work-in-progress JIT-powered regex engine
https://github.com/refi64/rejit
Last synced: about 1 year ago
JSON representation
A work-in-progress JIT-powered regex engine
- Host: GitHub
- URL: https://github.com/refi64/rejit
- Owner: refi64
- License: mpl-2.0
- Created: 2016-02-13T22:45:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-18T00:28:55.000Z (over 8 years ago)
- Last Synced: 2025-03-16T01:41:27.490Z (over 1 year ago)
- Language: C
- Size: 247 KB
- Stars: 110
- Watchers: 8
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
ReJit
=====
.. image:: https://travis-ci.org/kirbyfan64/rejit.svg?branch=master
:target: https://travis-ci.org/kirbyfan64/rejit
ReJit is an open-source, JIT-powered regex engine that currently supports most
regular expression features (and even some that RE2 doesn't support, like
backreferences). The only supported architectures at the moment are X86 and X64.
Note that ReJit is NOT complete! See the `issue tracker
`_ for a list of open issues.
Also, ReJit does not work on Windows at the moment (or at least X64; X86 might
work). Ideally, it would be a simple fix to use the shadow stack instead of the red
zone and changing the call registers...but I'm not sure.
Requirements
************
- `Fbuild `_ (use the Git version, not the
release).
- Python 3.
- Lua.
- `Libcut `_ if you want to build the tests.
- `Headerdoc `_
if you want to build the documentation. (Note that Headerdoc is no longer actually
maintained, so this is a link to the page on archive.org). The download is
available `here `_.
Building
********
Just run::
$ fbuild
To build the documentation, run::
$ fbuild docs
Usage
*****
Check out the `demo example
`_ and the `API docs
`_.