aboutsummaryrefslogtreecommitdiff

okaml-rs

okaml-rs is a Rust library for parsing okaml.

Installation

Use the package manager cargo to install foobar.

cargo add okaml

Usage

use okaml;

fn main() {
    let file_path = "../example/syntax.okml";
    let parsed_tree:Vec<Okml> = Okml::read_from_file(file_path);
    println!("{:?}", parsed_ast);
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT