Skip to content

frederikgramkortegaard/yfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

YFC - Your First Compiler

Source code for the "Writing Your First Compiler" tutorial series.

What is this?

This repository contains the code for YFC (Your First Compiler), a compiler written in Python that compiles to x86-64 assembly. The tutorial series walks you through building a complete compiler from scratch.

Tutorial Series

Read the full tutorial series on dev.to: https://dev.to/frederikgramkortegaard

Repository Structure

src/partX/  - Code for each part of the tutorial series

Each part builds on the previous one, starting with a simple lexer and gradually adding more features until you have a complete compiler.

License

MIT

About

Code accompanying the YFC "Writing Your First Compiler" tutorial series. Learn compiler fundamentals by building one in Python

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages