Export a single function: parse_functions() which results a vector of functions parsed from the source string. Hide the parser and lexer modules. They are not useful to external clients.
14 lines
349 B
Rust
14 lines
349 B
Rust
//! Cretonne file reader library.
|
|
//!
|
|
//! The cton_reader library supports reading .cton files. This functionality is needed for testing
|
|
//! Cretonne, but is not essential for a JIT compiler.
|
|
|
|
extern crate cretonne;
|
|
|
|
pub use parser::{Result, parse_functions};
|
|
pub use testcommand::{TestCommand, TestOption};
|
|
|
|
mod lexer;
|
|
mod parser;
|
|
mod testcommand;
|