From 1ac440c8df3ff49f26af03225c644dda08f3ea63 Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 21 Jan 2017 14:32:03 -0800 Subject: [PATCH] Implement trait parse --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index efc8dfa..005a0e8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -248,7 +248,7 @@ impl ProgrammingLanguage for Schala { } fn parse(input: Vec) -> Result { - unimplemented!() + parser::parse(&input, &[]).map_err(|x| ParseError { msg: x.msg }) } fn evaluate(input: &Self::AST) { unimplemented!()