← All work
University project Lexer, parser and code generator, written in C Université de Strasbourg, compilation course
Decaf in, MIPS assembly out

A compiler from scratch

A compiler for Decaf, a small teaching language, written from scratch in C for my compilation course at Université de Strasbourg. Flex turns the source into tokens, a Bison grammar parses it, and a code generator in C emits MIPS assembly. Building one end to end is a lesson in precision: exact grammars, careful data structures and testing every edge case. I bring the same discipline to the data pipelines, parsers and integrations I build for clients.

CFlexBisonMIPS assembly

What it is

A compiler for Decaf, a small teaching language, written from scratch in C: lexical analysis with Flex, parsing with Bison, and a code generator that emits MIPS assembly.

Why it matters for your project

Building a compiler end to end is a lesson in precision: exact grammars, careful data structures, and testing every edge case. I bring the same discipline to the data pipelines, parsers and integrations I build for clients.

Need a parser, a pipeline or an integration built with this care?

Tell me what you need in a few lines, and I'll tell you how I'd build it.