C++ to C compiler

mayall@freemail.gr (stelios xanthakis)
8 Nov 2003 01:42:15 -0500

          From comp.compilers

Related articles
C++ to C compiler mayall@freemail.gr (2003-11-08)
| List of all articles for this month |
From: mayall@freemail.gr (stelios xanthakis)
Newsgroups: comp.compilers
Date: 8 Nov 2003 01:42:15 -0500
Organization: http://groups.google.com
Keywords: C, C++, translator, available
Posted-Date: 08 Nov 2003 01:42:15 EST

Hi all.


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:
http://students.ceid.upatras.gr/~sxanth/lwc/index.html


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).


Stelios


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.