Skip to main content

oak_asciidoc/
lib.rs

1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![warn(missing_docs)]
4#![allow(missing_copy_implementations)]
5#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
6#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
7
8/// The AsciiDoc language implementation for Oaks.
9pub mod language;
10
11/// Abstract Syntax Tree for AsciiDoc.
12pub mod ast;
13
14/// Lexer for tokenizing AsciiDoc source.
15pub mod lexer;
16
17/// Parser for building AsciiDoc syntax trees.
18pub mod parser;
19
20pub use crate::{ast::AsciidocRoot, language::AsciidocLanguage, lexer::AsciidocLexer, parser::AsciidocParser};