1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
4#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
5#![warn(missing_docs)]
6mod builder;
9pub mod language;
12pub mod lexer;
13#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
14pub mod lsp;
15#[cfg(feature = "mcp")]
17pub mod mcp;
18
19pub mod parser;
20
21pub use crate::{builder::SmalltalkBuilder, language::SmalltalkLanguage, lexer::SmalltalkLexer, parser::SmalltalkParser};
22
23#[cfg(feature = "oak-highlight")]
24pub use crate::lsp::highlighter::SmalltalkHighlighter;
25
26#[cfg(feature = "lsp")]
27pub use crate::lsp::formatter::SmalltalkFormatter;
28pub use lexer::token_type::SmalltalkTokenType;
33pub use parser::element_type::SmalltalkElementType;