Skip to content

jonathonwebb/yapcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors