tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] C23 front end


From: Thiago Adams
Subject: Re: [Tinycc-devel] C23 front end
Date: Tue, 30 May 2023 08:42:22 -0300

Thanks for the suggestions,

 

Looking at these two projects:

 

I didn't find a backend in AbleC . (Looking at Driver.sv I guess

the backend is C)

 

gmqcc output, I guess, is a custom/specific language that is interpreted

later.

 

TCC has Assembler/Linker I am looking for something like that to

learn and integrate in cake.

Are these parts of TCC updated?
Does it make sense to use TCC Assembler/Linker as backend?

Or a pipe line like:

 

cake -> C89 -> TCC - > executable ?

 

Best regards,
Thiago

 

 

From: Domingo Alvarez Duarte
Sent: terça-feira, 30 de maio de 2023 04:49
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] C23 front end

 

Hello Thiago !

Maybe this project https://github.com/graphitemaster/gmqcc can be of your interest to use as backend on the playground.

Cheers !

On 30/5/23 3:44, Thiago Adams wrote:

Apologies if this is a wrong place for this e-mail.

 

I am creating a c23 front end called cake https://github.com/thradams/cake  and TCC is an inspiration for me mainly because it is a complete compiler.

 

I can try to help TCC with some C23 features but I am also interested in to learn about backends (I have no experience in this field).

 

Maybe someone from this list also may be interested in creating new backends or helping me to find references to implement a backend for cake. I wish cake could generate an executable like TCC does. I have considered web assembly for the backend as well. also QBE for QBE does not generate executables directly.

 

I have little experience with TCC I don’t know for instance how many warnings/erros it have or how prepared it is for C 23.

 

 cake is progressing to full analysis semantics and I believe It already have the infrastructure to implement good warnings. 

 

My interest in on compilers but also in promoting/modernising and using the C language.

 

Thanks 

Thiago 

 

 



_______________________________________________
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]