Re: [CVS ci] interpreter-iglobals: a list of some interpreter internal PMCs

2003-07-15 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: At 12:31 PM +0200 7/14/03, Leopold Toetsch wrote: I have moved some interpreter variables (classname_hash, compreg_hash, Argv, Env) into one (SArray) list: interpreter-iglobals. There access isn't time critical, so the extra indirection wont harm. This is

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-15 Thread Leopold Toetsch
Gregor N. Purdy [EMAIL PROTECTED] wrote: #define DO_OP(PC,INTERP) \ (PC = ((INTERP-op_func_table)[*PC])(PC,INTERP)) The easiest way to intercept this flow with minimal cost is to have the mechanism that wants to take over replace the interpreter's op_func_table with a block of pointers

Re: OT: Will the State of the Onion be posted online?

2003-07-15 Thread Aldo Calpini
Robert Spier wrote: Sorry for a slightly off-topic post, but will Larry's State of the Onion be posted online soon? Yes. sorry to reiterate the argument, but will also a text transcript of the talk be posted online? the slides are beautiful, but without a few words of explanation they are

IMCC bug: Sub names are not labels?

2003-07-15 Thread Luke Palmer
The following doesn't work: .sub _main newsub $P0, Sub, _foo invokecc $P0 end .end .sub _foo # ... .end Indeed, it can be done by using Caddr and Cset, but shouldn't sub names be considered global labels, too? Luke

[CVS ci] event handling-1: some opcodes

2003-07-15 Thread Leopold Toetsch
The plan is to follow Gregors idea to swap op_func_table/op_addr array, if events got enqueued. The internal check_events__ will get filled into a second op_func_table which will then take over. There are still some questions: - How does the actual event structure look like? - Is this a

newsub imcc compilation issue.

2003-07-15 Thread Will Coleda
Given the following example: % cat test.imc .sub _MAIN .local sub command_sub newsub command_sub, .Sub, __cmd_puts .end .sub __cmd_puts print whee\n .end %../../../parrot -o test.pbc test.imc error:imcc:store_labels: inter_cs label '__cmd_puts' not found make: *** [test.pbc] Error 1 I

Re: newsub imcc compilation issue.

2003-07-15 Thread Will Coleda
Hurm. I tried switching the order of the .subs, which allows it to compile, but then running it seems to print whee forever. This doesn't seem right. I'd have expected this program to not actually output anything - I just create the .Sub, not invoke it... On Tuesday, Jul 15, 2003, at 00:54

Re: IMCC bug: Sub names are not labels?

2003-07-15 Thread Leopold Toetsch
Luke Palmer [EMAIL PROTECTED] wrote: The following doesn't work: [ snip ] Indeed, it can be done by using Caddr and Cset, but shouldn't sub names be considered global labels, too? Of course. But newsub and the whole calling convention stuff isn't finished yet. Meaning the newsub opcode

Re: OT: Will the State of the Onion be posted online?

2003-07-15 Thread Angel Faus
Monday 14 July 2003 05:56, Robert Spier wrote: Sorry for a slightly off-topic post, but will Larry's State of the Onion be posted online soon? Yes. http://dev.perl.org/perl6/talks/ -R Really? I can't find anything about TPC7 in this page.. -angel

Re: newsub imcc compilation issue.

2003-07-15 Thread Will Coleda
On Tuesday, Jul 15, 2003, at 06:36 America/New_York, Leopold Toetsch wrote: Will Coleda [EMAIL PROTECTED] wrote: Given the following example: % cat test.imc .sub _MAIN .local sub command_sub newsub command_sub, .Sub, __cmd_puts .end .sub __cmd_puts print whee\n .end %../../../parrot -o

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-15 Thread Jason Gloudon
On Tue, Jul 15, 2003 at 10:15:57AM +0200, Leopold Toetsch wrote: How is the described scheme supposed to work with JIT generated code ? -- Jason

Re: newsub imcc compilation issue.

2003-07-15 Thread Leopold Toetsch
Will Coleda [EMAIL PROTECTED] wrote: But, why did it compile one way and not the other? And why would the program with the subs switched print out whee indefinitely? I would expect it to print whee once, then create a sub object, then die. It did compile, because the label was known. And: $

Re: Event handling

2003-07-15 Thread Leopold Toetsch
Jason Gloudon [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2003 at 10:15:57AM +0200, Leopold Toetsch wrote: How is the described scheme supposed to work with JIT generated code ? JIT code would be intersparsed with (JITted) CHECK_EVENTS() opcodes. They would get emitted e.g. at backward branches

[perl #22998] [PATCH] minor pod nit in core_ops.pod

2003-07-15 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #22998] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22998 Supresses a perldoc warning on core_ops.pod -- attachment 1

Re: [perl #22998] [PATCH] minor pod nit in core_ops.pod

2003-07-15 Thread Simon Glover
On Tue, 15 Jul 2003, Will Coleda wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #22998] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22998 Supresses a perldoc warning on

ad Timer

2003-07-15 Thread Leopold Toetsch
Attached is a test program, showing an implementations for multiple timers. GNU/linux only, but implementing the platform interface (and the sighandler/message queue) shouldn't be too hard. I'm using milli seconds resolution, which seems IMHO reasonable. The Kernel only has HZ (1s/100 on many

This week's summary

2003-07-15 Thread Piers Cawley
Perl 6 Summary for the week ending 20030713 Welcome once again to the Perl 6 Summary, in a week of major developments and tantalizing hints. Starting, as usual, with what's happening in perl6-internals Targeting Parrot from GCC Discussion in the thread entitled 'WxWindows

Re: OT: Will the State of the Onion be posted online?

2003-07-15 Thread Robert Spier
Really? I can't find anything about TPC7 in this page.. Sorry, had to take it down. It'll be back up in a few days.

Re: ad Timer

2003-07-15 Thread Nicholas Clark
On Tue, Jul 15, 2003 at 04:48:56PM +0200, Leopold Toetsch wrote: Attached is a test program, showing an implementations for multiple It didn't arrive. Did you attach it, or did its name end .t ? Nicholas Clark

Re: ad Timer

2003-07-15 Thread Leopold Toetsch
Nicholas Clark wrote: On Tue, Jul 15, 2003 at 04:48:56PM +0200, Leopold Toetsch wrote: Attached is a test program, showing an implementations for multiple It didn't arrive. Did you attach it, or did its name end .t ? No extension was .c. Attachment was there: $ mailq -Queue ID- --Size--

Re: This week's summary

2003-07-15 Thread damian
Hi Piers, Before you're deluged... What's Ponie? Ponie is 'Perl On New Internal Architecture' Err, no, because then it would have been Ponia (presumably the singular feminine). The project is definitely Ponie (the neuter plural). And, for the record, the retro-acronym was actually: 'Perl on

Re: This week's summary

2003-07-15 Thread Tupshin Harper
Piers Cawley wrote: Targeting Parrot from GCC Discussion in the thread entitled 'WxWindows Support / Interfacing Libraries' centred on writing a Parrot backend to GCC. (No, I have no idea what that has to do with the thread subject.) Tupshin Harper, Leo Tötsch and Benjamin Goldberg

[perl #23006] FLOATVAL_FMT

2003-07-15 Thread via RT
# New Ticket Created by Simon Glover # Please include the string: [perl #23006] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=23006 At the moment, if you build Parrot with long doubles on Linux/x86, then

Re: This week's summary

2003-07-15 Thread Rhys Weatherley
On Wednesday 16 July 2003 09:23 am, Tupshin Harper wrote: At one point, Tupshin suggested emulating a 'more traditional stack-oriented processor' and I don't think he was joking... Indeed, I wasn't, but I wish somebody would at least have the decency to tell me how insane this is. ;-)

Re: [perl #23006] FLOATVAL_FMT

2003-07-15 Thread Leopold Toetsch
Simon Glover (via RT) wrote: # New Ticket Created by Simon Glover # Please include the string: [perl #23006] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=23006 At the moment, if you build Parrot with long