|
From: | Domingo Alvarez Duarte |
Subject: | Re: [Tinycc-devel] improving get_tok_str |
Date: | Mon, 31 Mar 2014 15:50:07 +0100 |
Le 2014-03-30 21:18, Domingo Alvarez Duarte a écrit :
That would be nice ![3] and any documentation will help on it, someone asked before about
I would like to see the implementation of
qcc http://lists.nongnu.org/archive/html/tinycc-devel/2011-09/txtYogaFhDvlT.txtlibrary and found libjit very nice but its not maintained and only the
tinycc generate an intermediate pcode that would make things easier
for qcc.
When I started tinycc-noglobals it was because I was looking at a jitdoesnt work), then I started playing with it and found the
x86 and x86_64 backends are implemented (arm is only a draft thatThats why tinycc-noglobals came to existence, then I found that the
instructions to construct jitted code a bit complicated, knowing
tinycc I thought why complicate my life when I already know C and
tinycc generates executable code onthefly/jit ? Then I actualized my
virtual io on top of tinycc:mob and then started looking at the tinycc
code in more detail, when I found global variables like "ch, file,
tok" it was clear that the potential for name clashing/bugs using it
as is would be huge.
Then searchin the net I found the http://landley.net/qcc/ [4] ,
backends of tinycc was not in good shape, it can compile some simple
programs in general but when we try to compile something a bit more
complex like fossil-scm it failed.
http://elinux.org/CELF_Project_Proposal/Combine_tcg_with_tcc [5] and
looked at qemu tcg "Tiny Code Generator" and thought what a great
idea !!
I propose to try make it a reality, any volunteers ???
Sorry I don't have much free time and I cannot work on qemu due to IP issues related to my work. But the idea sounds interesting. It's just a bit sad to use an old version of tcc as the frontend though.
Thomas
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |