russia is waging a genocidal war in Ukraine. Please help Ukraine defend itself before russia has a chance to invade other countries.

2023  9

July  5

Bits of Scala code necessary to run Cool 2020 programs as Scala

These bits of Scala code let you run a Cool 2020 program in a Scala sandbox or compile it as Scala code

2023/Jul/23 · Mykola

Basics of translating expressions into assembly.

Let’s work through an example of applying a basic technique to generate assembly for an expression.

2023/Jul/23 · Mykola

Reporting compile-time errors

Discussing various strategies of handling errors in a compiler’s input code.

2023/Jul/13 · Mykola

Looking to implement a compiler yourself?

Where to start with your own hobby-compiler and what to focus on to actually get it finished.

2023/Jul/07 · Mykola

A toy compiler of a small Scala subset

Compiling a small Scala subset down to x86-64 assembly

2023/Jul/03 · Mykola

June  4

Hey! Where did my setcc go?

Let’s find Clang/LLVM’s code responsible for eliding redundant instructions that materialize a boolean expression’s value in a register.

2023/Jun/29 · Mykola

Build Clang in Visual Studio. Part 3

Running tests, debugging Clang’s source code

2023/Jun/21 · Mykola

Build Clang in Visual Studio. Part 2

Generating a solution and building it

2023/Jun/16 · Mykola

Build Clang in Visual Studio. Part 1

Installing Clang’s build dependencies

2023/Jun/14 · Mykola