oak-wit 0.0.3

WebAssembly Interface Types (WIT) component parser with support for interface definitions and component model.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("readme.md")]
#![warn(missing_docs)]
//! Wit-component support for the Oak language framework.

pub mod ast;
pub mod language;
pub mod lexer;
#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
pub mod lsp;
pub mod parser;

pub use crate::{ast::WitRoot, language::WitLanguage, lexer::WitLexer, parser::WitParser};
pub use lexer::token_type::WitTokenType;
pub use parser::element_type::WitElementType;