Menu

dthas dcc

dthas

DCC , abiding by C grammar and using for reference of tiger compiler, is designed as
a tiny compiler . The input of DCC is the C language and the output is i386 assembly
code abiding by nasm grammar(So far, DCC only supports Intel X86 platform).

Comment:

Tiger is a compiler described in the advanced book ( Appel 2005 ) that is popular in the world. Due to
the limitation of tiger that can only provide a finite number of features , DCC is designed to offer more
features by calling the functions from the library that packages the APIs of the OS. Moreover, C
grammar is so concise that I choosed it as the grammar of DCC. Besides, DCC is also designed to run
on DTHAS .


MongoDB Logo MongoDB