$ go run ./src/main
Append -d
argument to show the shape of the AST while parsing.
$ go run ./src/main -d
- Lexer
- Parser
- Evaluator
- REPL ( Read Evaluate Print Loop )
- Builtin Function
-
Integer
-
Boolean
-
String
-
Array
-
Hash
-
Function
-
Builtin Function
-
Closure
-
Prefix Expression
-
Infix Expression
-
Index Expression
-
If Expression
-
Return Statement
Based on the book: https://interpreterbook.com/