Re: s/// in string context should return the string

2003-11-22 Thread David Chan
[EMAIL PROTECTED] wrote: > Smylers wrote: >> This, however, is irritating: >> >> my @new = map { s:e/$pattern/$replacement/; $_ } @old; >> >> So I'd like a more elegant way of writing that -- but I don't think >> making the return value of C more complicated (and duplicating >> data in the proces

IMCC Bug? comments after setline

2003-11-19 Thread David Chan
Hi, IMCC appears to choke on comments after "setline", especially if they contain digits. Is the lexer expecting /setline +[0-9]+\s*$/ ? Should this be fixed? It appears to break pirate, which puts comments on every line. === $ cat test.

core.ops ate my (miniscule) RAM

2002-10-02 Thread David Chan
Hi, I'm using a Pentium 200 (well, Cyrix actually) with 32 MB of RAM, gcc 2.95.4, linux 2.2.17 and parrot out of CVS. Without swap, when I do "make", compiling core_ops_cg.c fails due to lack of memory. Which is unsurprising, as it is pretty big. It works if I use a 70 MB swap partition. Shou

Re: Initial bignum pdd

2002-02-28 Thread David Chan
On Wed, Feb 27, 2002 at 09:35:13PM +, Nicholas Clark wrote: > On Tue, Feb 26, 2002 at 11:17:55AM +, Alex Gough wrote: > > Yes, at some point allowing 10**2, is just silly, > > and I doubt the potentional applications are numerous enough to > > warrant trying it. So lon

Re: Initial bignum pdd

2002-02-26 Thread David Chan
On Fri, Feb 22, 2002 at 03:08:58AM +, Alex Gough wrote: > =item Division > > Under integer conditions, division is halted once the first fractional > digit is calculated, with the result then being rounded to an integer > and returned. ^

Parrot strings: are strings like "\x{FF10}" false?

2002-01-26 Thread David Chan
Hi, Which Parrot strings are supposed to be false in a boolean context? For instance, is "\x{FF10}" (FULLWIDTH DIGIT ZERO) false? docs/strings.pod says[1] a string is false if it "consists of one digit character whose numeric value (as decided by its character type) is zero". However, string.c