pull/2/head
Mark 2023-04-06 10:31:02 -07:00
parent a3ada7c70c
commit b6acbcee6b
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 1 additions and 5 deletions

View File

@ -155,10 +155,8 @@ pub fn parse(
let tokens = tokenize(s);
let (_, tokens) = find_subs(tokens);
let g = groupify(tokens)?;
println!("{:#?}", g);
let g = treeify(g)?;
return Ok(g);
}

View File

@ -2,7 +2,6 @@ use std::collections::VecDeque;
use crate::tokens::Token;
use crate::tokens::Operator;
//use crate::quantity::Quantity;
#[derive(Debug)]
@ -12,8 +11,7 @@ pub enum Function {
Floor,
Ceil,
Round,
// TODO: Add arbitrary log
NaturalLog,
TenLog,