oak-wolfram 0.0.11

Wolfram Language parser with support for Mathematica syntax and symbolic computation.
Documentation
#![doc = include_str!("readme.md")]

use oak_core::{Language, LanguageCategory};

/// The Wolfram language definition.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
pub struct WolframLanguage {}

impl WolframLanguage {
    /// Creates a new `WolframLanguage`.
    pub fn new() -> Self {
        Self {}
    }
}

impl Language for WolframLanguage {
    const NAME: &'static str = "wolfram";
    const CATEGORY: LanguageCategory = LanguageCategory::Programming;

    type TokenType = crate::lexer::token_type::WolframTokenType;
    type ElementType = crate::parser::element_type::WolframElementType;
    type TypedRoot = ();
}