Re: [perl #40544] [NEW] Test for DOS line endings in Parrot text files

2006-10-23 Thread Amos Robinson
I suppose the reason it's more efficient is that it compiles it at actual compile time. The only use I know of eval{} is catching dies... On 10/23/06, Paul Cochrane <[EMAIL PROTECTED]> wrote: > > This patch adds a test for DOS line endings in text files in the > > Parrot distribution. > > > > C

Q: Keys can be strings/ints only?

2006-01-20 Thread Amos Robinson
I think I remember reading one of the comments in the IMCC compiler something to the effect of "if someone needs N keys they can just convert to strings." Sorry I can't find the exact wording right now, but it might point you somewhere useful. Amos Robinson On 1/21/06, Klaas-J

Re: IMCC optimizer instruction duplication and opcode write/reads

2006-01-02 Thread Amos Robinson
Argh. Just realised my old address, [EMAIL PROTECTED], could receive emails but not send them (not even to itself!) > > On Dec 31, 2005, at 15:43, Amos Robinson wrote: > -- > > A copy_ins() function would be nice, if needed. > >> However, this doesn't seem to wor

IMCC optimizer instruction duplication and opcode write/reads

2005-12-31 Thread Amos Robinson
?, inout PMC) because it changes the array/whatever. Amos Robinson

Re: Tcl - compiling expressions

2005-09-30 Thread Amos Robinson
Eeek. Yes, I forgot just how crazy a language it was. :-D > Yes, that's the plan, but the initial implementation isn't going to > be a compiler like most people would expect: > > For example, something like: > > while {$a < 10} { incr a } > > while isn't language syntax. it's a command. So, this c

Re: Tcl - compiling expressions

2005-09-29 Thread Amos Robinson
Very cool. Will have to look into it soon. Are you still contemplating making the whole thing compiled? > Tcl's [expr] command now compiles expressions to PIR (before, it would create an AST that it would then interpret when you wanted the value.). Note: the language itself is still interpreted, t

Re: loadlib and libraries with '.' in the name

2005-09-22 Thread Amos Robinson
I don't suppose we could really set up test cases for this sort of thing, could we? On Fri, 23 Sep 2005 16:10:32 +1000, Ross McFarland <[EMAIL PROTECTED]> wrote: On Sep 22, 2005, at 11:00 PM, Amos Robinson wrote: Could we try loading it without any changes, and if that d

Re: loadlib and libraries with '.' in the name

2005-09-22 Thread Amos Robinson
Could we try loading it without any changes, and if that doesn't work, strip the last .? On Fri, 23 Sep 2005 15:51:31 +1000, Ross McFarland <[EMAIL PROTECTED]> wrote: i was playing around with NCI stuff tonight and ran across a problem in loadlib. the following code does not work: .lo

Re: tcl in leo-ctx5

2005-09-13 Thread Amos Robinson
Not so great on this end. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/cmd_array.t 4 1024454 8.89% 27-30 t/cmd_break.t 2 512 22 100.00% 1-2 t/cmd_continue.t2

[perl #36971] [PATCH] Tcl parray implementation

2005-08-22 Thread Amos Robinson
# New Ticket Created by "Amos Robinson" # Please include the string: [perl #36971] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36971 > Hi all. Here's an implementation of parray. I had to add a fil

[perl #36952] [PATCH] Tcl array unset tests and implementation

2005-08-19 Thread Amos Robinson
# New Ticket Created by "Amos Robinson" # Please include the string: [perl #36952] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36952 > This thing should work with the latest SVN. It'll add s

[perl #36916] [PATCH] TclArray get methods

2005-08-16 Thread Amos Robinson
# New Ticket Created by "Amos Robinson" # Please include the string: [perl #36916] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36916 > This patch should add a "get" sub into languages/tcl/lib