[perl #31148] [TODO] Documentation - out of date

2005-04-18 Thread Will Coleda via RT
This is a uselessly generic TODO that was cribbed from a file in the repository. It's covered by other, more specific documentation todos. If you know of documentation that needs to be added, please open a specific ticket.

RT Cleanup

2005-04-18 Thread William Coleda
There are some potentially crufty tickets out there. Can the relevant experts verify if these can be closed before we get the next release out? Win32: (10 tickets) http://rt.perl.org/rt3/NoAuth/parrot/List.html?Field=Platform&Value=mswin32 http://rt.perl.org/rt3/NoAuth/parrot/List.html?Field=Platf

Re: State of the Tcl [r7876]

2005-04-18 Thread William Coleda
More updates: 1) changed the tclparser PMC to emit actual real_exceptions in several cases; and 2) Added a divide method to TclInt to override the default Integer behavior of promotion to float (This is necesssary because Tcl's floats stringify with ".0", always - so while [expr 6.0 / 2] is "3.0

Re: regular expressions and parrot

2005-04-18 Thread Henrik Gulbrandsen
> On Sun, Apr 17, 2005 at 04:33:57PM +0200, BÁRTHÁZI András wrote: > > Just a short question I'm interested in: where will be, and how will > > work (I just asking for a general description about it) the regular > > expression / rules part of Parrot? On Sun, 2005-04-17 at 09:38 -0500, Patrick R

State of the Tcl [r7870]

2005-04-18 Thread William Coleda
Ok. I was somewhat surprised to hear about the Tcl breakages recently. I expect that Tcl is going to work on all of Parrot's supported OSen. Here are some recent improvements. o fixed the most gratuitous GC errors that Leo diagnosed. o committed a patch so that PGE is built by default (per chip).

Re: [FYI] enhanced backtraces

2005-04-18 Thread William Coleda
Cool. Can I co-opt this so I can get tcl-like backtraces when running tcl code? If so, how? =-) Jens Rieks wrote: Hi, the new backtrace code is in. If a parrot program aborts due to an error, a backtrace is shown. Examples: Null PMC access in invoke() current instr.: 'd' pc 149 (t/op/debu

Re: [perl #35018] [PATCH] Recent ASCII changes, Tcl Breakage

2005-04-18 Thread William Coleda
Leopold Toetsch wrote: Will Coleda <[EMAIL PROTECTED]> wrote: The recent conversion to mostly defaulting to ascii has broken Tcl (*again*). ./parrot languages/tcl/tcl.pbc languages/tcl/examples/hello.tcl No, I don't think so. $ ./parrot languages/tcl/tcl.pbc languages/tcl/examples/hello.tcl He

Re: [RFC] .local, .syn, etc.

2005-04-18 Thread MrJoltCola
At 04:52 PM 4/18/2005, chromatic wrote: On Mon, 2005-04-18 at 14:44 +0200, Leopold Toetsch wrote: > Yep. As a first step, I'd redefine this to be C<.label>: > >.macro SpinForever (Count) > .label $LOOP: dec .COUNT# ".label $LOOP" defines a local label. >branch .$LOO

Re: [RFC] .local, .syn, etc.

2005-04-18 Thread chromatic
On Mon, 2005-04-18 at 14:44 +0200, Leopold Toetsch wrote: > Yep. As a first step, I'd redefine this to be C<.label>: > >.macro SpinForever (Count) > .label $LOOP: dec .COUNT# ".label $LOOP" defines a local label. >branch .$LOOP # Jump to said label. >.endm Ca

[FYI] enhanced backtraces

2005-04-18 Thread Jens Rieks
Hi, the new backtrace code is in. If a parrot program aborts due to an error, a backtrace is shown. Examples: Null PMC access in invoke() current instr.: 'd' pc 149 (t/op/debuginfo_4.imc:24) called from Sub 'c' pc 116 (t/op/debuginfo_4.imc:18) called from Sub 'b' pc 85 (t/op/debuginfo_4.im

Re: [RFC] .local, .syn, etc.

2005-04-18 Thread Leopold Toetsch
William Coleda <[EMAIL PROTECTED]> wrote: > Macros support labels, defined using B<.local>, that are local to a > given macro expansion. The syntax looks something like this: > .macro SpinForever (Count) > .local $LOOP: dec .COUNT# ".local $LOOP" defines a local label. >

Re: MMD roundup 2 - TODO and design items

2005-04-18 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > 5) new opcodes that return a new result: > Px = n_add Py, Pz # new Px created > These opcodes will be done RSN. RSN is now. There is one basic test in t/pmc/integer.t. Overloading is tested in mmd.t. More tests are welcome for other PMCs. Cav

MMD roundup 2 - TODO and design items

2005-04-18 Thread Leopold Toetsch
Below is some stuff, which I'm unsure of how it should be implemented eventually. Input is highly welcome. Thanks, leo TODO items and design issues 1) bitwise or, and, xor We currently have two distinct sets of opcodes and MMD functions for numeric (i.e. integer) and string bitwise functionalit

MMD roundup 1 - current state

2005-04-18 Thread Leopold Toetsch
Below inline/attached describes what's done until now. leo According to the proposed changes described in Subject: [PROPOSAL] infix MMD operators Subject: Again the infix ops the following is done: 1) Arithmetic infix opcodes add, sub, mul, div, fdiv, mod, cmod, pow are converted to use t

Re: [perl #35018] [PATCH] Recent ASCII changes, Tcl Breakage

2005-04-18 Thread Leopold Toetsch
Will Coleda <[EMAIL PROTECTED]> wrote: > The recent conversion to mostly defaulting to ascii has broken Tcl (*again*). > ./parrot languages/tcl/tcl.pbc languages/tcl/examples/hello.tcl No, I don't think so. $ ./parrot languages/tcl/tcl.pbc languages/tcl/examples/hello.tcl Hello World $ ./parr

Re: [perl #35016] [BUG] t/pmc/timer.t

2005-04-18 Thread Leopold Toetsch
Will Coleda <[EMAIL PROTECTED]> wrote: > t/pmc/timerNOK 7# Looks like you failed 1 tests of 8. Could it be that system load was too high when the test was run, so that it didn't finish in one second? leo

Re: [RFC] some doubtable MMDs?

2005-04-18 Thread Leopold Toetsch
Larry Wall <[EMAIL PROTECTED]> wrote: > On Sun, Apr 17, 2005 at 09:50:28AM +0200, Leopold Toetsch wrote: >: Larry Wall <[EMAIL PROTECTED]> wrote: >: > Is there a bitarray lookup by native int? >: >: Yes. All array lookups support a native int index. > Good, good. Speaking of bitarrays (uint1 in t