tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] CFront for TinyCC?


From: Christian Jullien
Subject: Re: [Tinycc-devel] CFront for TinyCC?
Date: Tue, 2 Nov 2021 14:51:23 +0100

Hi Domingo,
This is very interesting but I wonder what it will be used for?

Stroustrup and others explicitly say that CFront should not be used for any 
purpose except for historical research purpose:

http://www.softwarepreservation.org/projects/c_plus_plus/index.html#release_30
"The source code in this section is posted with the permission of the copyright 
owner for historical research purposes only."

It's fine if you use it within this scope otherwise you should not promote this 
dev. as a way to have a "kind of" C++ on top of tcc.

Christian


-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On 
Behalf Of Domingo Alvarez Duarte
Sent: Tuesday, November 02, 2021 14:07
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] CFront for TinyCC?

Hello !

After making tinycc fully reentrant here 
https://github.com/mingodad/tinycc I decided to have a look at cfront 
and after a week of work on a fork from seiko2 I've got it to build for 
32/64 bits for linux here https://github.com/mingodad/cfront-3 , it also 
build on OSX and MYSYS2 with a bit of dirty tweaking that I need to 
figure out how to clean up.

I also fixed the parser to build with bison but the generated parser 
doesn't work as expected, need more investigation because bison doesn't 
find the same conflicts as byacc in a few places.

I already read the prior messages and understand the implications of the 
license, but for research and history preservation I think it was worth 
the trouble so far.

It can build itself through valgrind without any invalid memory access 
(of course it leaks memory as usual for this kind of software and it's 
epoch).

If anyone want/can give it a try and give any feedback I appreciate and  
thank you in advance !

Cheers !


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]