Source
(begin
{{parenBalance}} open paren
{{-parenBalance}} extra closed paren
)
{{error.name}}: {{error.message}}
Result
{{result}}
Tokens
{{token.valueOf()}}Line: {{token.line}}:{{token.col}}
Syntax Tree
Environment
-
{{key}} : {{typeof val === "object" ? "function": "number"}}
Global Environment
-
{{key}} : {{typeof val === "function" ? "function": "number"}}
Special Forms
- (begin expr ...)
- (define name expr)
- (if test conseq alt)
- (lambda (arg_names) body)
Links
Peter Norvig's lis.py