On Wed, 2026-08-12 at 21:51 -0500, [email protected] wrote:
> Hi,
> 
> I was wondering if any has attempted or started to work out
> implementing _Complex? 
> If not I would like to attempt it 😊


Tinycc providing already some API to generate code from a (malloc-ed)
string containing C code, you could generate temporary C code
Ā (seeĀ https://arxiv.org/abs/1109.0779Ā andĀ 
https://github.com/bstarynk/misc-basile/blob/master/manydl.c
Ā for inspiration) handling code with complex arithmetic.

You could also consider using GNU lightning for your code generator.

Another possibility is to use the libgccjit prorvided by recent GCC
compiler.

regards
-- 

Basile STARYNKEVITCH <[email protected]>
8 rue de la FaĆÆencerie http://starynkevitch.net/Basile/ 
92340 Bourg-la-Reine https://github.com/bstarynk
France https://github.com/RefPerSys/RefPerSys
https://orcid.org/0000-0003-0908-5250
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to