Rainy Day Project: A TinyBASIC to Go Compiler

2025-06-18

Over a rainy weekend, the author built a compiler that translates TinyBASIC code into Go. Leveraging Go's nex (lexer) and goyacc (parser), the project comprises three stages: lexical analysis, parsing, and code generation. The author details the grammar and code generation process, showcasing example programs and outputs. This fun, challenging project demonstrates the practical application of compiler principles.

Read more
Development

AI Coding Agents: From Helpful Assistants to Essential Partners

2025-06-16

The author recounts a transformative shift in their workflow due to autonomous AI coding agents. Initially viewed as a neat curiosity, these agents have become indispensable, dramatically changing how software is shipped. The author details using tools like Claude and Codex to complete tasks ranging from bug fixes to code generation, resulting in significant productivity gains. While acknowledging limitations, such as the potential for getting stuck in local optima, the author believes AI coding agents represent a new era in software development, augmenting rather than replacing developers.

Read more
Development