add an atom table.

This commit is contained in:
Mark Thom
2018-01-16 23:26:59 -07:00
parent 38cd9e5db7
commit d8be7b5b49
14 changed files with 276 additions and 181 deletions

View File

@@ -13,7 +13,7 @@ mod tests;
fn process_buffer(wam: &mut Machine, buffer: &str)
{
match parse_code(buffer, wam.op_dir()) {
match parse_code(buffer, wam.atom_tbl(), wam.op_dir()) {
Ok(tl) => {
let result = eval(wam, &tl);
print(wam, result);