Hưng Đặng’s Reviews > Writing An Interpreter In Go > Status Update

Hưng Đặng
Hưng Đặng is 7% done
I read the part about Pointer in Go and felt quite intimidated by the book, but I will keep any strange concept behind my back. Once it because to heavy, I will put the book back to the shelf
Oct 04, 2024 06:46AM
Writing An Interpreter In Go

flag

Hưng’s Previous Updates

Hưng Đặng
Hưng Đặng is 97% done
Start to read "The lost chapter". It is about macro. Macro treats code as data, not text. When lexing, the input we receive is text but when parsing, we convert tokens to AST nodes. These AST nodes are different from text, are treated as data to be passed around so they are the macro system
Feb 09, 2025 05:15PM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 93% done
This part is about Hash data structure and it is quite interesting. This is the first time I know that a hash key is converted into a number and its modulo will offset its position in an array. Under the hood, the hash is an array.
Feb 05, 2025 07:34AM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 79% done
Adding builtin functions and some common data structure to the language. This is good to remind me how to work on things from the start to the end. Lexing/tokenizing -> Parsing to AST -> Turn things to object for evaluation
Jan 27, 2025 04:53AM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 68% done
Environment is exciting! I have some guesses that variables in env will be saved in the memory and soon enough, Ball will have to talk about GC. Can't wait for the part about the GC
Jan 20, 2025 06:30PM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 63% done
This is an artwork because Ball made me feel that things were so simple
Jan 19, 2025 08:03AM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 60% done
Coming to conditionals. it seems like this one is harder than evaluating boolean or integer

Note: Ball has a great habit of writing tests before writing the features. I feel like we have even more test code than feature code
Jan 16, 2025 07:39AM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 58% done
Each section was encapsulated well in their part of the codebase so that they don't affect one another. I feel it very easy to extend
Jan 12, 2025 05:56PM
Writing An Interpreter In Go


Hưng Đặng
Hưng Đặng is 50% done
In term of performance, executing machine code > executing bytecode > executing AST
Jan 11, 2025 05:19PM
Writing An Interpreter In Go


No comments have been added yet.