Re: C# and Parrot

2002-10-21 Thread Leon Brocard
Bryan C. Warnock sent the following bits through the ether: > Interesting read. Dan skimmed over this, but what do .NET (and JVM) doe > for floating point numbers? For the JVM: http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#19511 "The floating-point types are float and

Re: C# and Parrot

2002-10-21 Thread Dan Sugalski
At 7:21 PM +0530 10/20/02, Gopal V wrote: If memory serves me right, Bryan C. Warnock wrote: > It looks like we're going to need 8,16,32,64 bit types... Interesting read. Dan skimmed over this, but what do .NET (and JVM) doe for floating point numbers? IL (Ecma-335) -- 134.

Re: C# and Parrot

2002-10-21 Thread Rhys Weatherley
Dan Sugalski wrote: > I think so. I'm going to add in some conversion ops for the shorter > float forms, and for the partial-sized integers. I'm unsure at the > moment whether I want to commit to full 64 bit integers in I > registers. On the one hand it means a lot more can be done at the low > le

Re: C# and Parrot

2002-10-20 Thread Rhys Weatherley
"Bryan C. Warnock" wrote: > Interesting read. Dan skimmed over this, but what do .NET (and JVM) doe > for floating point numbers? The CLI has three floating point types, of which 2 are visible to C# and a third is used by the engine. These are "float32", "float64", and "native float". The firs

Re: C# and Parrot

2002-10-20 Thread Gopal V
If memory serves me right, Bryan C. Warnock wrote: > > It looks like we're going to need 8,16,32,64 bit types... > > Interesting read. Dan skimmed over this, but what do .NET (and JVM) doe > for floating point numbers? IL (Ecma-335) -- 134.1.1 Floating Point 14 The floa

Re: C# and Parrot (dotgnu meeting)

2002-10-20 Thread Gopal V
If memory serves me right, Leon Brocard wrote: > It looks like the DotGNU weekly IRC meeting will be discussing > Parrot. Could be interesting: > http://www.dotgnu.org/pipermail/developers/2002-October/008345.html A condensed summary of the IRC meetings have been posted as :- http://www.dotgnu.org

Re: C# and Parrot

2002-10-20 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > It looks like the DotGNU weekly IRC meeting will be discussing > Parrot. Could be interesting: It was quite interesting. I managed to make it to the early one and Dan to the later one. An "annotated and abridged chatlog" is available: http

Re: C# and Parrot

2002-10-20 Thread Bryan C. Warnock
On Sun, 2002-10-20 at 07:39, Leon Brocard wrote: > Leon Brocard sent the following bits through the ether: > > > It looks like the DotGNU weekly IRC meeting will be discussing > > Parrot. Could be interesting: > > It was quite interesting. I managed to make it to the early one and > Dan to the la

Re: C# and Parrot

2002-10-18 Thread Dan Sugalski
At 1:38 PM +0100 10/18/02, Simon Cozens wrote: [EMAIL PROTECTED] (Rhys Weatherley) writes: int x = ...; int y = (short)x; The value of x is truncated to 16 bits, and then sign-extended to int. I'm looking for something like the "conv.i2" instruction in IL, or "i2s" in JVM. One co

Re: C# and Parrot

2002-10-18 Thread Leopold Toetsch
Rhys Weatherley wrote: Leopold Toetsch wrote: [ imcc ] Yes, I saw that. I haven't yet decided whether to generate pasm or imcc directly from cscc. I did have some problems getting "test_spilling.imc" to work. Is this a known issue? Now yes ;-) Last cleanup changes did break the spillin

Re: C# and Parrot

2002-10-18 Thread Graham Barr
On Fri, Oct 18, 2002 at 05:54:08PM +0100, Leon Brocard wrote: > It looks like the DotGNU weekly IRC meeting will be discussing > Parrot. Could be interesting: > http://www.dotgnu.org/pipermail/developers/2002-October/008345.html The author of that mail needs to learn the difference between GMT and

Re: C# and Parrot

2002-10-18 Thread Dan Sugalski
At 5:54 PM +0100 10/18/02, Leon Brocard wrote: Rhys Weatherley sent the following bits through the ether: DotGNU is currently reaching out to other projects in the OSS/FS world to see how we can help you and how you might be able to help us. It looks like the DotGNU weekly IRC meeting will

Re: C# and Parrot

2002-10-18 Thread Leon Brocard
Rhys Weatherley sent the following bits through the ether: > DotGNU is currently reaching out to other projects in the OSS/FS > world to see how we can help you and how you might be able to > help us. It looks like the DotGNU weekly IRC meeting will be discussing Parrot. Could be interesting: htt

Re: C# and Parrot

2002-10-18 Thread Andy Dougherty
On Fri, 18 Oct 2002, Rhys Weatherley wrote: > Leopold Toetsch wrote: > > > > What is the size of the "int" type? Will it always be 32 bit > > > or is it "whatever is best for the machine"? > > > > It's a Configure option. > > That may be a bit of a problem, as C# (and Java for that matter) > i

Re: C# and Parrot

2002-10-18 Thread Simon Cozens
[EMAIL PROTECTED] (Rhys Weatherley) writes: > int x = ...; > int y = (short)x; > > The value of x is truncated to 16 bits, and then sign-extended > to int. I'm looking for something like the "conv.i2" instruction > in IL, or "i2s" in JVM. One concievable way to do that is basically have

Re: C# and Parrot

2002-10-18 Thread Rhys Weatherley
Brent Dax wrote: > # I'm a bit confused as to how one creates a user-defined class > # in Parrot, and makes virtual method calls, accesses fields, > # and what-not. I can't seem to find a good example (Cola does > # non-virtual methods only at present). > > You don't, at least not yet. Eventual

Re: C# and Parrot

2002-10-18 Thread Rhys Weatherley
Leopold Toetsch wrote: > Have a look at imcc, which is our high level assembler. imcc does > register allocation and (currently little) optimization. perl6 produces > IMCC code. imcc can also run the code or write PBC files. Yes, I saw that. I haven't yet decided whether to generate pasm or imcc

Re: C# and Parrot

2002-10-18 Thread Leon Brocard
Rhys Weatherley sent the following bits through the ether: > The Portable.NET C# compiler, cscc, is very extensive, and is > capable of generating output for multiple bytecode formats (IL > and JVM are currently supported, more or less). Oh, excellent. If you're already targeting both then it sho

C# and Parrot

2002-10-18 Thread Rhys Weatherley
Hi, I'm Rhys Weatherley, the author of Portable.NET, which is part of the DotGNU project. (Put down that flame thrower! I come in peace. :-) ) DotGNU is currently reaching out to other projects in the OSS/FS world to see how we can help you and how you might be able to help us. One of the proj

Re: C# and Parrot

2002-10-18 Thread Leopold Toetsch
Rhys Weatherley wrote: The Portable.NET C# compiler, cscc, is very extensive, and is capable of generating output for multiple bytecode formats (IL and JVM are currently supported, more or less). Have a look at imcc, which is our high level assembler. imcc does register allocation and (curre

RE: C# and Parrot

2002-10-18 Thread Brent Dax
Rhys Weatherley: # I'm Rhys Weatherley, the author of Portable.NET, which is # part of the DotGNU project. (Put down that flame thrower! I # come in peace. :-) ) Hey. Don't worry--we're not worried about DotGNU. On the other hand, if you said you were on the actual .Net development group, it