Repository navigation
tpathexp v1.0.0
Initial public release of tpathexp, a Tcl/C extension for compiled path matching and HTTP route dispatch.
- Reusable native matchers with named parameters, custom POSIX regular expressions, and correctly indexed nested captures.
- Ordered Tcl routing with GET/HEAD support, 404 responses, and 405 responses with an Allow header.
- AWS Lambda adapters for decoded API Gateway payloads 1.0/2.0 and Function URL events, with an example handler that reuses its route table across invocations.
- Shared-module and static-library builds for Tcl 8.6 and Tcl 9.x, plus installation and embedding examples.
Validation: all 40 Tcl tests passed with Tcl 8.6 and 9.1. Static embedding, package installation, and the Lambda example also passed. AddressSanitizer and UndefinedBehaviorSanitizer checks passed with leak detection disabled because of the test environment.
Download tpathexp-1.0.0.tar.gz and verify it against SHA256SUMS. This release ships source; build it for your runtime's Tcl ABI, operating system, and architecture.
tar -xzf tpathexp-1.0.0.tar.gz
cd tpathexp-1.0.0
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build --output-on-failureThe Lambda host runtime supplies JSON decoding/encoding and the invocation loop. See the README for API details and packaging instructions.