Featured Blog: Let’s Build a Compiler
- Raspberry Pi Compiler
- Chapter XVI: Local Variables and Recursion
- Chapter XV: Functions with Parameters
- Chapter XIV: Strings – Hello, World!
- Chapter XIII: Fixing the For Loop
- Chapter XII: Improving our Error Checking
- Chapter XI: Semicolons and Comments
- Chapter X: TINSEL for x86-64
- Chapter IX: More TINSEL
- Chapter VIII: Introducing TINSEL
- Chapter VII: Lexical Scanning
- Chapter 6: Boolean Expressions
- Chapter 5b: Control Structures – part 2
- Chapter 5a: Control Structures – part 1
- Chapter 4: Interpreters
- Chapter 3: More Expressions – Variables, Functions
- Chapter 2: Numerical Expression Parsing
- Chapter 1: Introduction
About this Site
This blog was born out of the author’s passion for coding as well as anything IT related. The trigger was when he found in a drawer his old Texas Instruments TI-59, one of the first pocket programmable calculators. At the same time the author had taken interest in learning Kotlin. And the idea was born: Write a compiler in Kotlin!
The author is by no means an expert on compilers, so he did some research and came across the tutorial “Let’s Build a Compiler!” by Jack Crenshaw. The Let’s build a Compiler Blog on this site is an adaptation of Jack’s original series into Kotlin with his kind permission.
The original idea was to produce code for the TI-59. However, as explained later, it would be much more beneficial to produce code for x86 that everyone could play with and actually run and test.
From time to time I will also be publishing here other pieces of code that I have written or have come across recently, which I consider interesting.
Thank you for visiting my website and enjoy your coding!
Get new content delivered directly to your inbox