Skip to main content

oak_wolfram/language/
mod.rs

1use oak_core::{Language, LanguageCategory};
2
3#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
4pub struct WolframLanguage {}
5
6impl WolframLanguage {
7    pub fn new() -> Self {
8        Self {}
9    }
10}
11
12impl Language for WolframLanguage {
13    const NAME: &'static str = "wolfram";
14    const CATEGORY: LanguageCategory = LanguageCategory::Programming;
15
16    type TokenType = crate::kind::WolframSyntaxKind;
17    type ElementType = crate::kind::WolframSyntaxKind;
18    type TypedRoot = ();
19}