Skip to content

DaKnig/dcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Da C Compiler

This is supposed to be a C compiler... but not a very standard/good one.

in constant development. matrix channel - #dcc-dev:matrix.org

goals for the project

  1. standard compliant C compiler

  2. high quality optimization

  3. targetting sm83 and 16 bit x86

  4. superoptimization for sm83

progress bar

  • C expressions (all except sizeof, alignof and compound expression - basically everything that's not related to types)

  • statements (no support for declarations in expr1 in a for loop)

  • declarations (alt syntax) (we are getting there... slowly... very slowly. simple declarations in the next few commits...)

  • functions (minimal progress)

  • structs (not supported in the next few months)

  • symbol table (will start working on it soon)

  • IR definition (almost complete, usable.)

  • outputting DCC IR (not done yet)

  • unit tests (minimal progress)

other repos in the DCC project

sm83 backend - vbsm83(name pending)

custom language frontend - tinymm8