Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread Antonio Cuni
holger krekel wrote: Hi Antonio, On Sun, Mar 19, 2006 at 20:53 +0100, Antonio Cuni wrote: as I said I've begun writing the .NET CLI backend; it is still very experimental but it can already compile correctly some code snippets such as the algorithm for computing fibonacci's numbers. cool!

Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread Armin Rigo
Hi Antonio, On Mon, Mar 20, 2006 at 10:52:42AM +0100, Antonio Cuni wrote: The first decision I took is whether to generate IL code (to be assembled with ilasm) or C# code: I choose the first mainly because C# lacks the goto statement and it would be difficult to implement flow control.

Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread holger krekel
Hi Antonio! On Mon, Mar 20, 2006 at 10:52 +0100, Antonio Cuni wrote: holger krekel wrote: Hi Antonio, On Sun, Mar 19, 2006 at 20:53 +0100, Antonio Cuni wrote: as I said I've begun writing the .NET CLI backend; it is still very experimental but it can already compile correctly some code

Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread holger krekel
Hi Armin, Antonio, On Mon, Mar 20, 2006 at 14:21 +0100, Armin Rigo wrote: On Mon, Mar 20, 2006 at 10:52:42AM +0100, Antonio Cuni wrote: I think it should be fairly simple to translate from the SSA form to a more stack-friendly form useful for stack-based machines; the question is: where

Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread Bert Freudenberg
Am 20.03.2006 um 14:39 schrieb holger krekel: Hi Armin, Antonio, On Mon, Mar 20, 2006 at 14:21 +0100, Armin Rigo wrote: On Mon, Mar 20, 2006 at 10:52:42AM +0100, Antonio Cuni wrote: I think it should be fairly simple to translate from the SSA form to a more stack-friendly form useful for

Re: [pypy-dev] CLI code generation (was: Svn account?)

2006-03-20 Thread holger krekel
Hi Armin, On Mon, Mar 20, 2006 at 21:44 +0100, Armin Rigo wrote: On Mon, Mar 20, 2006 at 02:39:48PM +0100, holger krekel wrote: Also useful for other back-ends would be a way to reconstruct some kind of expression tree. For example, in Squeak, it is more efficient to generate a single