PinnedMarc Auberer·Apr 2, 2024Build a Compiler — IntroductionIntroduction article for the article series “Build a Compiler”. This articles are conceived especially for beginners in the field.A response icon1A response icon1
Marc Auberer·Apr 2, 2024Build a Compiler — BackendThe job of the compiler backend is the transformation of (optimized or unoptimized) IR to the machine code for the target platform. This…
Marc Auberer·Apr 2, 2024Build a Compiler — OptimizationNow that we transformed our program to intermediate representation, we can pass it off to an optimization pipeline, that can perform one…
Marc Auberer·Apr 2, 2024Build a Compiler — IR GeneratorIn order to effectively optimize the program it can be beneficial to transform the program to a so called “Intermediate Representation” or…
Marc Auberer·Apr 2, 2024Build a Compiler — Type CheckerNext, let’s look how we can guarantee a semantically correct program by checking type compatibility. This job is done by a compiler…
Marc Auberer·Apr 2, 2024Build a Compiler — Symbol TableNow that we know that our input program is syntactically correct, we can enter semantic analysis territory. One of the most important…
Marc Auberer·Apr 2, 2024Build a Compiler — ParserNext, we want to get an understanding of the context, in which the individual tokens are aligned, so that we can derive the program…
Marc Auberer·Apr 2, 2024Build a Compiler — LexerBefore starting to think about our lexer, we first should define, what our demo language is supposed to do. Let’s say we just want a…A response icon1A response icon1
Marc Auberer·Dec 16, 2021Compose Generator — Update 1.5.0If you haven’t read about Compose Generator yet, visit the introduction article here. This particular article shows which features /…
Marc Auberer·Nov 17, 2021Compose Generator — Update 1.3.0If you haven’t read about Compose Generator yet, visit the introduction article here. This particular article shows which features /…