Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yapcc

Yet Another Python C Compiler 1

A Python implementation of the learning x86 C compiler from the book Writing a C Compiler by Nora Sandler.

usage: yapcc [-h] [--lex | --parse | --codegen] [-S] file

Yet Another Python C Compiler

positional arguments:
  file

options:
  -h, --help  show this help message and exit
  --lex       lex only
  --parse     lex and parse only
  --codegen   lex, parse, and generate assembly only
  -S          emit assembly

Footnotes

  1. not to be confused with:

    • yacc: Yet Another Compiler-Compiler
    • pcc: Portable C Compiler

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages