-
Notifications
You must be signed in to change notification settings - Fork 0
A toy self-compiling C compiler.
License
PedroEdiaz/xc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
XC == A toy self-compiling C compiler. Bugs ---- _ Can not use more than one token for defines _ Check syntax rules for gotos and labels _ Clean code for labels in ps.c _ Warn for unused labels _ Warn when there is no labels to goto Rodemap ------- _ Backpatching _ Deadcode elimination x Optimization * Constant folding * Deadcode elimination _ Constant Propagation x Preprocesor * Warning * Error * Define _ Ifdef _ Include x Integers * Operators * Constants _ Variables _ Floats _ Operators _ Constants _ Variables * Comments * Return * Gotos _ If _ While _ Functions Compile and test ---------------- make; ./cc TEST.c
About
A toy self-compiling C compiler.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published