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:
miloignis committed 2023-07-06 01:11:56 -04:00
1 parent f4ae4db92d
commit b077daf12e
6 files changed
+479 -195

No files matched your search

+2 -1
View File
@@ -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;