Implement trait parse
This commit is contained in:
parent
f5022a771c
commit
1ac440c8df
@ -248,7 +248,7 @@ impl ProgrammingLanguage for Schala {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn parse(input: Vec<Self::Token>) -> Result<Self::AST, ParseError> {
|
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) {
|
fn evaluate(input: &Self::AST) {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
|
Loading…
Reference in New Issue
Block a user