devel/merve 1.2.2_3 DragonFly
Fast C++ lexer for extracting named exports from CommonJS modules
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20, MIT
- Categories
- devel
- Package size
- 30.3 KiB, 77.8 KiB installed
Description
Merve is a fast C++ lexer for extracting named exports from CommonJS modules. This library performs static analysis to detect CommonJS export patterns without executing the code.
Features:
- Fast: Zero-copy parsing for most exports using std::string_view
- Accurate: Handles complex CommonJS patterns including re-exports, Object.defineProperty, and transpiler output
- Source Locations: Each export includes a 1-based line number for tooling integration
- Unicode Support: Properly unescapes JavaScript string literals including \u{XXXX} and surrogate pairs
- Optional SIMD Acceleration: Can use simdutf for faster string operations
- No Dependencies: Single-header distribution available (simdutf is optional)
- Cross-Platform: Works on Linux, macOS, and Windows
In the other systems
The newest version among them is 1.2.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/merve | 1.2.2_3 newest | none known | - | [email protected] | - |
| FreeBSD | devel/merve | 1.2.2_4 newest | none known | - | [email protected] | 2026-10-19 |
| HardenedBSD | devel/merve | 1.2.2_4 newest | no data | - | [email protected] | - |
| GhostBSD | devel/merve | 1.2.2_4 newest | no data | - | [email protected] | - |
Version history 1
- 1.2.2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install merve
From DPorts:
cd /usr/dports/devel/merve && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.