Luke Palmer <[EMAIL PROTECTED]> wrote:
> Those things are interpreter exceptions -- the program did something the
> interpreter didn't expect. But I think the idea is to make C a
> control exception, much like Perl 6's C or C.
Yep & yep. C already is a (control) exception.
> Luke
leo
K Stol <[EMAIL PROTECTED]> wrote:
> From: "Leopold Toetsch" <[EMAIL PROTECTED]>
>> The C can happen deeply inside some called subs. The exception
>> can be caught e.g. in main, to do some cleanup before really shutting
>> down. Makes sense to me.
> You've got a point there. But it's a bit a matt
K Stol writes:
> From: "Leopold Toetsch" <[EMAIL PROTECTED]>
> > The C can happen deeply inside some called subs. The exception
> > can be caught e.g. in main, to do some cleanup before really shutting
> > down. Makes sense to me.
>
> You've got a point there. But it's a bit a matter of taste I th
- Original Message -
From: "Jos Visser" <[EMAIL PROTECTED]>
To: "Leopold Toetsch" <[EMAIL PROTECTED]>
Cc: "P6I" <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 4:35 AM
Subject: Re: [CVS ci] exit opcode
> On Fri, Aug 29, 2003 at 01
- Original Message -
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 7:43 AM
Subject: Re: [CVS ci] exit opcode
> K Stol <[EMAIL PROTECTED]> wrote:
K Stol <[EMAIL PROTECTED]> wrote:
> From: "Leopold Toetsch" <[EMAIL PROTECTED]>
>> .pcc_sub _main prototyped # only one "_main" allowed like in C
> This is not *that* ugly, just look at C, for example. Any C program should
> have a "main", so
> it's not that strange to have a special 'purpose s
K Stol <[EMAIL PROTECTED]> wrote:
> From: "Leopold Toetsch" <[EMAIL PROTECTED]>
>> But with the constant Sub PMC in the packfile execution could start
>> at "_main" then.
> I couldn't follow the constant Sub PMC thread (didn't understand, maybe a
> WTHI subject?).
The PIR assembler inside Parrot
- Original Message -
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 4:52 AM
Subject: Re: [CVS ci] exit opcode
> K Stol <
- Original Message -
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 5:27 PM
Subject: Re: [CVS ci] exit opcode
> K Stol <[EMAIL PROTECTED]> wrote:
K Stol <[EMAIL PROTECTED]> wrote:
> $I0 = 0#
> .pcc_begin_return#
> .return $I0; # return 0; /* return to
> shell */
> .pcc_end_return # }
> .end
> Just an idea.
Good one. So in "main"
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> yOn Fri, 29 Aug 2003, Leopold Toetsch wrote:
>> I have checked in a small change:
>> - B(in INT) throws an exception with severity C and
>> the given exit status.
> I think we might want to go a little further than this, but it's fine for
> now. We can ex
Brent Dax wrote:
Leopold Toetsch:
# I'd like to change the startup parameters too: move the ARGV array
from
# P0 to P5.
Agreed on my end, at least--though I suspect the approval you really
need is Dan's. I'll let you apply this when he does.
Thanks.
-interpreter->pmc_reg.registers[0] = user
yOn Fri, 29 Aug 2003, Leopold Toetsch wrote:
> I have checked in a small change:
> - B(in INT) throws an exception with severity C and
> the given exit status.
I think we might want to go a little further than this, but it's fine for
now. We can extend it with B(in PMC) later.
> - the system i
Leopold Toetsch:
# I'd like to change the startup parameters too: move the ARGV array
from
# P0 to P5.
Agreed on my end, at least--though I suspect the approval you really
need is Dan's. I'll let you apply this when he does.
--Brent Dax <[EMAIL PROTECTED]>
Perl and Parrot hacker
"Yeah, and my
On Fri, Aug 29, 2003 at 01:29:18PM +0200 it came to pass that Leopold Toetsch wrote:
> I'd like to change the startup parameters too: move the ARGV array from
> P0 to P5. This would allow main to be:
>
> .pcc_sub _main prototyped
>.param SArray ARGV
>.local int ARGC
>ARGC = ARGV
>
15 matches
Mail list logo