> One imagines that one would construct a virtual machine architecture
> framework
gcc already has one. It's called RTL.
> and then write a back-end that would generate "machine code" for
> that virtual machine, which would be a subset of ANSI C. Hey-presto, you
> then have a butt-ugly anythin
On Fri, 9 Jun 2006, David Nicol wrote:
One imagines that one would construct a virtual machine architecture
framework and then write a back-end that would generate "machine code"
for that virtual machine, which would be a subset of ANSI C.
Hey-presto, you then have a butt-ugly anything-to-ANSI
On 6/9/06, Sebastian Pop <[EMAIL PROTECTED]> wrote:
Steven Bosscher wrote:
> 2. Probably GIMPLE, but you can't express all of GIMPLE in ANSI C
> (with GCC extensions you can probably express most of it though).
Theoretically you can express all of GIMPLE in ANSI C,
practically it would require s
Steven Bosscher wrote:
> 2. Probably GIMPLE, but you can't express all of GIMPLE in ANSI C
> (with GCC extensions you can probably express most of it though).
Theoretically you can express all of GIMPLE in ANSI C,
practically it would require some engineering,
pragmatically it is worthless for GCC
1. Yes. And no. It can be written but such a backend would never be
acceptable for inclusion in GCC.
don't worry ;-)
2. Probably GIMPLE, but you can't express all of GIMPLE in ANSI C
(with GCC extensions you can probably express most of it though).
3. Several such attempts exist or have existe
On 6/9/06, Fabian Scheler <[EMAIL PROTECTED]> wrote:
1. Is it possible to provide an Highlevel C backend for the GCC?
2. Which level is most suitable level to generate C from (not the
initial source code level, of course ;-)) - RTL, GIMPLE, GENERIC?
3. Are there any attempts to provi
> 1. Is it possible to provide an Highlevel C backend for the GCC?
Everybody is supposed to know what "highlevel" means for you.
OK, I just meant plain ansi C
> 3. Are there any attempts to provide a C backend, so far?
>
Yes, gcc2c from sun.com, though this is a dead proj
Fabian Scheler wrote:
> Hello alltogether,
>
> I have some questions:
>
> 1. Is it possible to provide an Highlevel C backend for the GCC?
Everybody is supposed to know what "highlevel" means for you.
> 2. Which level is most suitable level to generate C from (n
Hello alltogether,
I have some questions:
1. Is it possible to provide an Highlevel C backend for the GCC?
2. Which level is most suitable level to generate C from (not the
initial source code level, of course ;-)) - RTL, GIMPLE, GENERIC?
3. Are there any attempts to provide a C backend, so far