| Crates.io | oak-typst |
| lib.rs | oak-typst |
| version | 0.0.1 |
| created_at | 2025-10-22 03:22:57.147157+00 |
| updated_at | 2026-01-23 05:20:51.242443+00 |
| description | Typst document typesetting language parser with support for modern document typesetting and markup processing. |
| homepage | https://github.com/ygg-lang/oaks |
| repository | https://github.com/ygg-lang/oaks |
| max_upload_size | |
| id | 1894878 |
| size | 61,838 |
A high-performance Typst parser built on the Oak framework.
use oak_typst::{TypstLanguage, TypstLexer};
use oak_core::{parse, SourceText};
let source = SourceText::new("#let x = 42");
let language = TypstLanguage::standard();
let lexer = TypstLexer::new(&language);
let tree = parse(&source, &lexer);
Contributions are welcome! Please open an issue or submit a pull request.