Skip to content

XOCFE is an concise, clearly, C compiler frontend, it is easy to understand and modify. XOCFE's input is pure C, output is an AST tree.

License

Notifications You must be signed in to change notification settings

StevenYangCC/xocfe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xocfe

XOCFE is an concise, clearly, C compiler frontend, it is easy to understand and modify. XOCFE does not include preprocessor, so its input is pure C, output is an AST tree. XOCFE only support C99.

A concise and readable C++ Template Library is under 'src/com' directory. It can be used to build whole compiler, or anyother project.

BUILD: ./autogen.sh & ./configure & make

RUN: cd src & ./xocfe ../test/test_ansic.c -dump asttree.log

Enjoy the code.

About

XOCFE is an concise, clearly, C compiler frontend, it is easy to understand and modify. XOCFE's input is pure C, output is an AST tree.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.5%
  • C 7.2%
  • Makefile 0.2%
  • Pawn 0.1%
  • M4 0.0%
  • Shell 0.0%