Port details on branch 2024Q2 |
- re2c Lexer generator for C, C++ and Go with a focus on generating fast code
- 4.1 devel
=33 4.1Version of this port present on the latest quarterly branch. - Maintainer: chalpin@cs.wisc.edu
 - Port Added: unknown
- Last Update: 2025-03-16 19:49:33
- Commit Hash: 45be879
- People watching this port, also watch:: libiconv, p5-URI, p5-Net-SSLeay, libxml2, p5-HTML-Parser
- 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 = 1740323504
SHA256 (re2c-4.1.tar.xz) = cd7d9bbadb3f04f20da25e20e155655de57beef48e0807266938069f0e322e8b
SIZE (re2c-4.1.tar.xz) = 1812048
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:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Test dependencies:
-
- bash : shells/bash
- python3.11 : lang/python311
- 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-4.1:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_re2c
- USES:
- cmake:testing compiler:c++11-lib cpe python:test shebangfix tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|