xshade-parser 0.1.2

Parser and untyped AST for the xshade language.
Documentation
extern crate xshade_parser;

use xshade_parser::*;

#[test]
fn it_parses_structs() {
    let source = include_str!("structs.xs");
    parse_str(source).unwrap();
}

#[test]
fn it_parses_functions() {
    let source = include_str!("functions.xs");
    parse_str(source).unwrap();
}

#[test]
fn it_parses_functions_with_expressions() {
    let source = include_str!("with-expressions.xs");
    parse_str(source).unwrap();
}