Skip to main content

oak_rst/
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 reStructuredText language implementation for Oaks.
9pub mod language;
10
11/// Abstract Syntax Tree for reStructuredText.
12pub mod ast;
13
14/// Lexer for tokenizing reStructuredText source.
15pub mod lexer;
16
17/// Parser for building reStructuredText syntax trees.
18pub mod parser;
19
20pub use crate::{ast::RstRoot, language::RstLanguage, lexer::RstLexer, parser::RstParser};