1
2
3
4
5
6
7
8
9
mod parser;
pub mod types;

use nom::error::Error;
use types::GraphAST;

pub fn parse(s: &str) -> Result<GraphAST, Error<&str>> {
    parser::parse(s)
}