Re: If you're up for a real challenge

2004-08-12 Thread David Essex
Uri Guttman wrote: ... DE> Yes, run-time libraries are included. They are written in C. DE> Generally, both OC and TC generate inline code for program flow DE> control. The RTL are used mostly for type conversions, system calls DE> and such. then the question is how hard would it be to retarget f

Re: If you're up for a real challenge

2004-08-10 Thread David Essex
Uri Guttman wrote: > ... what about the runtime libraries for those cobols? i worked on PL/I libraries and they have many similar features to cobol (as pl/i was a genetic monster of cobol/algol/fortran). stuff such as isam record i/o, picture variables, decimal math, etc are needed for a full cobol

Re: If you're up for a real challenge

2004-08-09 Thread Uri Guttman
> "DE" == David Essex <[EMAIL PROTECTED]> writes: DE> Uri Guttman wrote: >> ... >> what about the runtime libraries for those cobols? i worked on PL/I >> libraries and they have many similar features to cobol (as pl/i was a >> genetic monster of cobol/algol/fortran). stuff such as is

Re: If you're up for a real challenge

2004-08-09 Thread Uri Guttman
> "DE" == David Essex <[EMAIL PROTECTED]> writes: DE> Dan Sugalski wrote: >> There's a GPL COBOL compiler, TinyCOBOL (1). >> >> If anyone wants to take a shot at giving it a >> PIR back end... (And yes, this would actually be >> very useful. Imagine using Parrot as a way to migrat

Re: If you're up for a real challenge

2004-08-09 Thread David Essex
Dan Sugalski wrote: > There's a GPL COBOL compiler, TinyCOBOL (1). > > If anyone wants to take a shot at giving it a > PIR back end... (And yes, this would actually be > very useful. Imagine using Parrot as a way to migrate > legacy COBOL apps to, well, almost anything else. > This would be a Good

Re: If you're up for a real challenge

2004-08-04 Thread Leopold Toetsch
Tim Howell <[EMAIL PROTECTED]> wrote: > One other thought: I don't have a great understanding of PMCs, but I > think they're intelligent registers. Why not create PMCs that simulate > the standard x86 registers? You don't gain anything, when you use PMCs for native processor registers. As this c

Re: If you're up for a real challenge

2004-08-04 Thread Nicholas Clark
On Wed, Aug 04, 2004 at 11:29:27AM -0400, Dan Sugalski wrote: > There's a GPL COBOL compiler, TinyCOBOL. > http://tiny-cobol.sourceforge.net/ If anyone wants to take a shot at > giving it a PIR back end... (And yes, this would actually be very I was going to say that I thought that "cruel and u

RE: If you're up for a real challenge

2004-08-04 Thread Tim Howell
movs%cl\t-%d(%%ebp), %%eax\n", varsize_ch(sy),sy->location); break; } } } } else { fprintf(o_src,"#val to eax complex $c_base+%u, %%eax\n",

If you're up for a real challenge

2004-08-04 Thread Dan Sugalski
There's a GPL COBOL compiler, TinyCOBOL. http://tiny-cobol.sourceforge.net/ If anyone wants to take a shot at giving it a PIR back end... (And yes, this would actually be very useful. Imagine using Parrot as a way to migrate legacy COBOL apps to, well, almost anything else. This would be a Good