Open this in zkREPL →
This file can be included into other zkREPLs with include "gist:4149b97a72b4f51714620ecfaaf139fc";
Open this in zkREPL →
This file can be included into other zkREPLs with include "gist:4149b97a72b4f51714620ecfaaf139fc";
from datatypes import Atom, List, Expression | |
class Interpreter: | |
class InterpreterError(Exception): | |
pass | |
PROC_MAPPING = {"+": lambda *args: sum(args)} | |
ast: Expression |