oak-matlab 0.0.11

MATLAB numerical computing language parser with support for scientific computing, data analysis, and visualization.
Documentation
#![doc = include_str!("readme.md")]
#![feature(new_range_api)]
#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
#![warn(missing_docs)]

pub mod ast;
/// Matlab AST building module
pub mod builder;

pub mod language;
pub mod lexer;
#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
pub mod lsp;
/// MCP module.
#[cfg(feature = "mcp")]
pub mod mcp;

/// Matlab parsing module
pub mod parser;

pub use crate::{
    language::MatlabLanguage,
    lexer::{MatlabLexer, token_type::MatlabTokenType},
    parser::{MatlabParser, element_type::MatlabElementType},
};

#[cfg(feature = "oak-highlight")]
pub use crate::lsp::highlighter::MatlabHighlighter;

#[cfg(feature = "lsp")]
pub use crate::lsp::MatlabLanguageService;

#[cfg(feature = "mcp")]
pub use crate::mcp::serve_matlab_mcp;