|C++ to C compiler firstname.lastname@example.org (2003-11-08)|
|From:||email@example.com (stelios xanthakis)|
|Date:||8 Nov 2003 01:42:15 -0500|
|Keywords:||C, C++, translator, available|
|Posted-Date:||08 Nov 2003 01:42:15 EST|
I've made a tool which compiles a C++-like language and produces good
old C99 (with some gcc extensions in certain cases). Maybe it can get
in the free-compilers list.
It is interesting because by studing the -readable- generated C code
you an understand how C++ features are implemented. It's also easy to
add new features and extensions.
The URL is:
It is only known to work on a gcc/gnu-libc system and it is
definitelly BETA. The parser is written entirely in C.
I'm currently working on a builtin regular expression compiler which
produces C code for compile-time regular expressions (faster than
perl- more efficient than scanf in the simple ones).
Return to the
Search the comp.compilers archives again.