Implement trait parse

This commit is contained in:
greg 2017-01-21 14:32:03 -08:00
parent f5022a771c
commit 1ac440c8df
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ impl ProgrammingLanguage for Schala {
}
fn parse(input: Vec<Self::Token>) -> Result<Self::AST, ParseError> {
unimplemented!()
parser::parse(&input, &[]).map_err(|x| ParseError { msg: x.msg })
}
fn evaluate(input: &Self::AST) {
unimplemented!()