Re: punie.g observation

2006-01-17 Thread Andrew Rodland
On Tuesday 17 January 2006 16:50, Chris Dolan wrote: Allison et al., I was looking at languages/punie/lib/punie.g in the current SVN head and got confused. I see: rule gprint { (print) \s* PunieGrammar::expr } and rule expr{ PunieGrammar::gprint | PunieGrammar::cexpr } Doesn't

Re: Perl6 perlplexities [was: Re: $1 change issues...]

2005-11-07 Thread Andrew Rodland
On Monday 07 November 2005 09:26 am, Rob Kinyon wrote: On 11/7/05, Michele Dondi [EMAIL PROTECTED] wrote: On Fri, 4 Nov 2005, Rob Kinyon wrote: So, for a bit of extra complexity, I get peace of mind for myself and my users. The point being, and I'm stressing it once again but no more

Re: Perl6 perlplexities [was: Re: $1 change issues...]

2005-11-07 Thread Andrew Rodland
On Monday 07 November 2005 03:51 pm, Juerd wrote: Andrew Rodland skribis 2005-11-07 13:30 (-0500): If you want to get into personal beliefs, I think that function signatures are such a complexity quagmire -- and that they're line-noise ugly to boot. The nice thing about signatures

Re: Compiling parrot with c++

2005-10-28 Thread Andrew Rodland
On Thursday 27 October 2005 09:37 pm, Joshua Hoblitt wrote: On Thu, Oct 27, 2005 at 11:22:40PM +0200, Leopold Toetsch wrote: On Oct 27, 2005, at 22:31, Nick Glencross wrote: There are a few cases of -1 being assigned to unsigneds. Anyone know if that's deliberate? Yup. Some special

Re: Zcode interpreter release

2005-08-24 Thread Andrew Rodland
On Wednesday 24 August 2005 04:26 pm, Amir Karger wrote: Several people pointed out that I didn't perldoc -f system. Sorry! Btw, even after reading the docs, I still don't understand why Perl would pass a cd command to a piece of the shell that can't understand it. Granted, I shouldn't do it

Re: Can a scalar be lazy ?

2005-08-22 Thread Andrew Rodland
On Monday 22 August 2005 04:25 pm, Larry Wall wrote: On Tue, Aug 23, 2005 at 04:09:29AM +0800, Yiyi Hu wrote: [stuff] : Even if making scalar lazy might cause problem sometimes, Is it : possible to add a property which is like : my $var is lazy; to handle these situation? In Perl 6 you make

Re: reduce metaoperator on an empty list

2005-05-19 Thread Andrew Rodland
On Thursday 19 May 2005 10:51 pm, Sam Vilain wrote: Edward Cherlin wrote: Here is the last answer from Ken Iverson, who invented reduce in the 1950s, and died recently. file:///usr/share/j504/system/extras/help/dictionary/intro28.htm [snip] Thanks for bringing in a little history to

Re: Whither use English?

2005-04-12 Thread Andrew Rodland
On Tuesday 12 April 2005 07:42 am, David Cantrell wrote: On Mon, Apr 11, 2005 at 03:42:25PM -0400, Aaron Sherman wrote: I'm not even sure I like the *possibility* of using non-ascii letters in identifiers, even. I think we already have Latin-1 in identifiers... more's the pity.

Re: Second use of flattening

2005-04-04 Thread Andrew Rodland
On Monday 04 April 2005 06:34 pm, Juerd wrote: Terrence Brannon skribis 2005-04-04 18:45 (+): So, to avoid confusion with the common understanding of flattening in Perl, perhaps it should be called spreading or distributing. I agree. Likewise, slurping is probably best explained as

Re: Units on numbers [was Re: S28ish]

2005-03-28 Thread Andrew Rodland
On Monday 28 March 2005 05:48 pm, Craig DeForest wrote: The problem with using the units(1) database is that it only deals with multiplicative relations -- so, e.g., it won't handle temperature. [EMAIL PROTECTED]:~$ units 2084 units, 71 prefixes, 32 nonlinear units Among those nonlinear units

Re: state vs my

2004-12-04 Thread Andrew Rodland
On Saturday 04 December 2004 06:15 pm, Alexey Trofimenko wrote: oh! that it. I've found example which could make it clear to me sub test { return sub { for 1..3 { state $var = 1; print $var++ } } } $a = test; $a() for 1..3; print ';' $b = test; $b() for

Re: Win XP problems

2004-11-09 Thread Andrew Rodland
On Monday 08 November 2004 06:50 pm, Christian Lott wrote: Having a little trouble with vim. I think the problem is that imc.vim.in needs to go through ops2vim. C:\parrot\editorperl ops2vim.pl imc.vim.in imc.vim Can't open imc.vim: No such file or directory at ops2vim.pl line 8, line 85.

Re: A..Z alternatives

2004-09-21 Thread Andrew Rodland
On Tuesday 21 September 2004 07:18 pm, Thomas A. Boyer wrote: Larry Wall wrote: Somebody needs to talk me out of using A..Z for the simple cases. Larry [ for array dimension placeholder ] That might confuse users of languages that were not C-syntax-influenced, who think that '**' means

Re: No-C, no programming project: Some configure investigation

2004-09-07 Thread Andrew Rodland
On Tuesday 07 September 2004 03:47 pm, Nicholas Clark wrote: On Tue, Sep 07, 2004 at 10:52:01AM -0400, Aaron Sherman wrote: Seriously, I've never come across any system that lacked autoconf support AND which a high level language like those that would target Parrot, ran on. If you're

(De-Lurk)

2004-08-03 Thread Andrew Rodland
Hello, folks. Just wanted to let people know, I've been following parrot and reading the list for a while now, but just recently I finally co'd a copy of parrot and decided it was time that i actually did something with it. The first thing I did was do some work on making it nice in the editor

Re: push with lazy lists

2004-07-15 Thread Andrew Rodland
On Wednesday 14 July 2004 12:58 pm, Brent 'Dax' Royal-Gordon wrote: Andrew Rodland wrote: So if we have @x = [1, 3, 5, 6 .. 9, 10 .. Inf, 42]; ... 42 is just one number, so questions of indexing it are moot, but its distance from the left is Inf. So, there's no way to access the 42

Re: push with lazy lists

2004-07-14 Thread Andrew Rodland
]; # 10 $a = $x[-1];#42 $a = $x[Inf]; # No thanks $a = $x[-2];# Inf $a = pop @x;# $a = 42; @x = [ 6 .. 9, 10 .. Inf ] repeat { $a = pop @x; } until $a != Inf; # Heat death --Andrew Rodland [EMAIL PROTECTED]

Re: C style conditional statements

2004-05-11 Thread Andrew Rodland
On Tuesday 11 May 2004 08:00 pm, Pedro Larroy wrote: Hi Is there any chance that in perl6 there will be the possibility to write if/else statements without {}s with the condition at the beginning? Like if (condition) statement; In order not to break traditional C culture. Is there

Re: C style conditional statements

2004-05-11 Thread Andrew Rodland
On Tuesday 11 May 2004 10:13 pm, Larry Wall wrote: On Tue, May 11, 2004 at 08:31:55PM -0400, Andrew Rodland wrote: : On Tuesday 11 May 2004 08:00 pm, Pedro Larroy wrote: : Hi : : Is there any chance that in perl6 there will be the possibility to : write if/else statements without {}s

Re: Arrays: Default Values

2003-01-30 Thread Andrew Rodland
On Wednesday 29 January 2003 09:52 pm, Rick Delaney wrote: On Wed, Jan 29, 2003 at 01:54:10PM -0800, Michael Lazzaro wrote: On Wednesday, January 29, 2003, at 12:38 PM, Smylers wrote: That would make the rule very simple indeed: Assigning Cundef to an array element causes that

Re: Arrays: Default Values

2003-01-30 Thread Andrew Rodland
On Thursday 30 January 2003 06:49 pm, Andrew Rodland wrote: On Wednesday 29 January 2003 09:52 pm, Rick Delaney wrote: On Wed, Jan 29, 2003 at 01:54:10PM -0800, Michael Lazzaro wrote: On Wednesday, January 29, 2003, at 12:38 PM, Smylers wrote: I'd also like to point out that ruby has

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-10 Thread Andrew Rodland
On Friday 10 January 2003 11:42 am, Paul Johnson wrote: Damian Conway said: Andy Wardley wrote: The arrow is a special case. I don't read that first character as '-', I think of the operator as one. I guess the visual cue forces me to see it like that. I'm suggesting that ~ and ~

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-09 Thread Andrew Rodland
On Thursday 09 January 2003 01:01 pm, Thom Boyer wrote: If you read ~ and ~ as stuff this thingy into that doohicky, assignment makes perfect sense. They are plumbing connectors: sometimes they connect the water softener to the water heater (one device to another), and sometimes they connect

Re: Indeterminate math

2002-10-14 Thread Andrew Rodland
On Monday 14 October 2002 20:20, [EMAIL PROTECTED] wrote: Are Inf and NaN going to be standard in Perl 6? As long as we're traveling down that road, how about i (the square root of -1), or Lukasiwiscean Null? (Sorry if I sound sarcastic, I'm actually honestly curious.) After much fighting

Re: Regex query

2002-09-23 Thread Andrew Rodland
On Sat, 21 Sep 2002 16:33:31 -0600 (MDT), Luke Palmer said: You know, the idea that square brackets are the only things that can make lists is starting to really appeal to me. Similar for squiggles and hashes. I don't know how many times in my early Perl5 days I did this: Since we now