Skip to main content

oak_typst/
lib.rs

1#![feature(new_range_api)]
2#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
3#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
4pub mod ast;
5mod builder;
6pub mod kind;
7pub mod language;
8pub mod lexer;
9pub mod parser;
10
11mod formatter;
12pub mod highlighter;
13pub mod lsp;
14pub mod mcp;
15
16pub use crate::{ast::TypstRoot, builder::TypstBuilder, formatter::TypstFormatter, highlighter::TypstHighlighter, language::TypstLanguage, lexer::TypstLexer, lsp::TypstLanguageService, parser::TypstParser};
17
18#[cfg(feature = "io-std")]
19pub use crate::mcp::serve_typst_mcp;