Needed 1+1, Built a Functional Programming Language
Summary
The article chronicles building graphLang, a small functional-style language implemented in C that evolves from evaluating 1+1 to a full graph-reduction engine. It covers designing a flexible AST, closures, a custom memory allocator, an environment hash table, a garbage collector, and a REPL/FFI, with a focus on memory management challenges and iterative improvements.