Port details on branch 2024Q3 |
- re2c Lexer generator for C, C++ and Go with a focus on generating fast code
- 3.0 devel =32 3.0Version of this port present on the latest quarterly branch.
- Maintainer: chalpin@cs.wisc.edu
- Port Added: unknown
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: libiconv, p5-URI, libxml2, p5-Net-SSLeay, pcre
- License: PD
- WWW:
- https://re2c.org/
- Description:
- Re2c is a free and open-source lexer generator for C, C++ and Go with a
focus on generating fast code. It compiles regular expression
specifications to deterministic finite automata and encodes them in the
form of conditional jumps in the target language. This approach is
generally faster than table-based lexers, and the generated code is easier
to debug and understand. A flexible user interface allows one to adapt the
generated lexer to a particular environment and input model, avoiding the
overhead on unnecessary checks and buffers. Re2c is based on the lookahead
TDFA algorithm that allows it to perform fast and lightweight submatch
extraction.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/re2c/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/re2c
- pkg install re2c
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: re2c
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1674624469
SHA256 (re2c-3.0.tar.xz) = b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b
SIZE (re2c-3.0.tar.xz) = 1441456
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bison : devel/bison
- rst2man : textproc/py-docutils
- cmake : devel/cmake-core
- ninja : devel/ninja
- Test dependencies:
-
- bash : shells/bash
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- archivers/php-brotli
- devel/z88dk
- lang/emilua
- lang/lfortran
- lang/php81
- lang/php82
- lang/php83
-
Deleted ports which required this port:
- for Run
-
- lang/zephir
- mail/spamassassin
- mail/spamassassin-devel
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for re2c-3.0:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
LIBRE2C=off: Build libre2c (Experimental)
RE2GO=on: Build RE2GO (identical to re2c --lang go)
RE2RUST=on: Build RE2RUST (identical to re2c --lang rust)
===> Use 'make config' to modify these settings
- Options name:
- devel_re2c
- USES:
- cmake cpe python:test shebangfix tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|