Add primitive procedures to expression type
This commit is contained in:
@@ -10,6 +10,7 @@ void eval(am_t *am)
|
||||
switch (am->expr->atom.type) {
|
||||
case ATOM_TYPE_EMPTY_LIST:
|
||||
case ATOM_TYPE_INTEGER:
|
||||
case ATOM_TYPE_PRIM_PROC:
|
||||
am->val = am->expr;
|
||||
break;
|
||||
case ATOM_TYPE_SYMBOL:
|
||||
|
||||
Reference in New Issue
Block a user