Skip to content

Simple implementation of the front-end of a C- compiler written from scratch in Python.

Notifications You must be signed in to change notification settings

raulmanzas/basic-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-compiler

This repository contains a simple implementation of a compiler for the C- language. No frameworks, it was all written from scratch for learning purposes. Features implemented so far:

  • Lexical analysis (without regex)
  • Syntactical analysis (recursive descent)
  • Semantical analysis
  • Customized symbol table

You can see some C- source code here.

The grammar I followed can be found here..

About

Simple implementation of the front-end of a C- compiler written from scratch in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published