Split eval.rs out of ast.rs, and rename ast.rs to basic.rs. Copy it over to opt.rs, and hook up a From<> impl and a congruent(x)->bool function, and add to main.rs and test.rs. Now we actually have to make opt.rs optimize...
This commit is contained in:
1 parent
f4ae4db92d
commit
b077daf12e
6 files changed
+479
-195
No files matched your search
@@ -1,6 +1,7 @@
|
||||
use std::str::FromStr;
|
||||
use std::rc::Rc;
|
||||
use crate::ast::{Form,FormT};
|
||||
use crate::basic::Form;
|
||||
use crate::eval::FormT;
|
||||
|
||||
grammar;
|
||||
|
||||
|
||||
Reference in new issue
Block a user