Compiler From Scratch: Phase 1 - Tokenizer Generator 001: Compilers overview and project setup

3 months ago
10

Streamed on 2024-07-12 (https://www.twitch.tv/thediscouragerofhesitancy)

Zero Dependencies Programming!

We started by looking at a very brief overview of compilers and describing a lot of the words that are common usage. We talked through the early plan and made some design choices; not all the design choices, just a few.

I created a new project to work in. The first order of business is to read a file, so we did that. We implemented it three different ways so later we can compare performance when we have enough functionality and material to do meaningful comparisons. For now, it will default to using fopen/fread/fclose.

Loading 1 comment...