Hưng Đặng’s Reviews > Writing An Interpreter In Go > Status Update
Hưng Đặng
is 13% done
I started to be engrossed by this book, only to stop when my pomodoro rang
— Nov 07, 2024 08:12PM
1 like · Like flag
Hưng’s Previous Updates
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
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
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
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
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
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
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
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
Hưng Đặng
is 50% done
In term of performance, executing machine code > executing bytecode > executing AST
— Jan 11, 2025 05:19PM

