BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/merve1.2.2_3 newestnone known-[email protected]-
FreeBSDdevel/merve1.2.2_4 newestnone known-[email protected]2026-10-19
HardenedBSDdevel/merve1.2.2_4 newestno data-[email protected]-
GhostBSDdevel/merve1.2.2_4 newestno data-[email protected]-

Version history 1

  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.