Skip to content

This is a python implementation of JamieBuild's "Super Tiny Compiler"

Notifications You must be signed in to change notification settings

piyushharsh/Lets_Build_a_Compiler_LIVE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Lets_Build_a_Compiler_LIVE

This is a python implementation of JamieBuild's "Super Tiny Compiler"

Overview

JamieBuilds developed a wonderfully educative compiler example a few years ago in Javascript, and this is a 250 line python implementation. It's the code for this live Battle Royale game show hosted by Siraj Raval on Youtube. It takes an input expression in LISP and converts it into C.

Dependencies

  • copy
  • re

Usage

Type 'python compiler.py' into a command line to run this code. You can switch out the input expression in the main function with your own to test out different outputs.

Related Implementations

About

This is a python implementation of JamieBuild's "Super Tiny Compiler"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%