This project is part of the book "Writting and interpreter in Go". This repository keeps track of my progress through the book
- C-like syntax
- Variable bindings
- Integers and booleans
- Arithmetic expressions
- Built-in functions
- First-class and higher-order functions
- Closures
- String data structure
- Array data structure
- Hash data structure
let age = 10 * (20/2);
let myArray = [1, 2, 3, 4, 5];
let someHash = {"name": "Felix", "age": 100}myArray[0]
someHash["name"]let add = fn(a,b) { return a + b; };
let add = fn(a,b) { a + b; }
add(1,2);- Lexer
- Parser
- Abstract Syntax Tree
- Internal Object System
- Evaluator
