Skip to content

An API written in Rust for parsing Whiley files and more!

License

Notifications You must be signed in to change notification settings

DavePearce/WhileyFile.rs

Repository files navigation

Overview

A Rust library for reading Whiley files.

    use whiley_file::WhileyFile;
    //
    let input ="function f(u8 x) -> (u8 r):\n skip";
    let mut r = WhileyFile::from_str(input);
    //
    match r {
      Ok(WhileyFile) => {
          println!("Parsing succeeded");
      }
      Err(e) => {
          println!("Parsing failed --- {}",e.message);
      }
    }

About

An API written in Rust for parsing Whiley files and more!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages