API reference
The Python and TypeScript references below describe the published PyPI and
npm packages. The Rust reference and the C header are built from the
current source, so they can be newer than your installed version. For Rust
docs that match your version, run cargo doc -p hyperlark --open in your
project; for C, use the hyperlark.h in your source distribution.
The TypeScript reference covers the Node entry point. For the browser entry,
@hyperlark/hyperlark/web, see Browsers and other
runtimes.
PythonThe hyperlark package: Lark, Tree, Token, Transformer and the rest of the public API.
RustThe hyperlark crate: Lark, ParseResult, Cursor, Token and the rest of the public API.
TypeScriptThe @hyperlark/hyperlark package: Lark, Tree, Token, Transformer and the rest of the public API.
Chyperlark.h, the complete C API, with the rules for using it in the comment at the top.