Re: Angle quotes and pointy brackets

2004-11-28 Thread Brent 'Dax' Royal-Gordon
On Sat, 27 Nov 2004 10:28:28 -0800, Larry Wall [EMAIL PROTECTED] wrote: On Fri, Nov 26, 2004 at 02:10:06PM -0800, Larry Wall wrote: : I know everone has their reflexes tuned to type qw currently, but : how many of you Gentle Readers would feel blighted if we turned it : into q:w instead? Of

Re: [CVS ci] opcode cleanup 1 - minus 177 opcodes

2004-11-28 Thread Leopold Toetsch
Thomas Seiler [EMAIL PROTECTED] wrote: Dan Sugalski wrote: At 10:34 AM +0100 11/27/04, Leopold Toetsch wrote: See also subject Too many opcodes. [...] Could you undo this please? Now is not the time to be trimming ops out. When is the time? After another 1000 opcodes are in, which all

Re: [CVS ci] @ANON sub pragma

2004-11-28 Thread Leopold Toetsch
Sam Ruby [EMAIL PROTECTED] wrote: I can't seem to combine it with non_prototyped. .sub foo @ANON, non_prototyped - Sam Ruby leo

How immediate is immediate (was: [CVS ci] @ANON sub pragma)

2004-11-28 Thread Leopold Toetsch
Luke Palmer wrote: On a semi-related note, can I get a classoffset without doing a hash lookup? That is, can I store the class number I get assigned somewhere for quick fetching? It *could* be something like the example below. But that doesn't work yet. Currently subroutines denoted with

Re: continuation enhanced arcs

2004-11-28 Thread Piers Cawley
Leopold Toetsch [EMAIL PROTECTED] writes: Piers Cawley [EMAIL PROTECTED] wrote: Leopold Toetsch [EMAIL PROTECTED] writes: We don't have a problem WRT register preservation, the problem arises due to register re-using. Ah! [a light goes on over Piers's head]. Or am I missing something

Re: [CVS ci] @ANON sub pragma

2004-11-28 Thread Luke Palmer
Leopold Toetsch wrote: I've checked in intial support for anonymous subroutines. .sub foo @ANON creates an anonymous subroutine. On a semi-related note, can I get a classoffset without doing a hash lookup? That is, can I store the class number I get assigned somewhere for quick fetching?

Re: EcmaScript

2004-11-28 Thread Herbert Snorrason
On Sat, 27 Nov 2004 21:49:49 -0500, Michael G Schwern [EMAIL PROTECTED] wrote: On Sat, Nov 27, 2004 at 09:58:44PM +, Herbert Snorrason wrote: It should. EcmaScript is also a relatively small language, which would work strongly in its advantage... A 188 page language spec is small? ;)

Re: PGE issues

2004-11-28 Thread Nicholas Clark
On Sun, Nov 28, 2004 at 01:33:08AM -0500, William Coleda wrote: 3) cd compilers/pge make fails: c++ -dynamiclib -L/usr/local/lib -flat_namespace -o pge.dylib pge_parse.o pge_gen.o pge_opt.o pge_parsep5.o pge_parseglob.o ld: multiple definitions of symbol _pge_cmeta pge_parse.o

Re: cvs commit: parrot/t/pmc objects.t

2004-11-28 Thread Jens Rieks
On Sunday 28 November 2004, Jens Rieks wrote: added new TODO test: new Px, Ix: argcP is wrong in __init method minesweeper does not run because of this. not ok 52 - __init argcP # TODO new Px, Ix: argcP is wrong in __init method # Failed (TODO) test (t/pmc/objects.t at line 1712) #

Re: Angle quotes and pointy brackets

2004-11-28 Thread Matthew Walton
James Mastros wrote: Larry Wall wrote: On Fri, Nov 26, 2004 at 07:32:58AM +0300, Alexey Trofimenko wrote: : ah, I forget, how could I do qx'echo $VAR' in Perl6? something like : qx:noparse 'echo $VAR' ? I think we need two more adverbs that add the special features of qx and qw, so that you

Re: Angle quotes and pointy brackets

2004-11-28 Thread John Macdonald
On Sat, Nov 27, 2004 at 08:21:06PM +0100, Juerd wrote: James Mastros skribis 2004-11-27 11:36 (+0100): Much more clear, saves ` for other things I like the idea. But as a earlier thread showed, people find backticks ugly. Strangely enough, only when used for something other than readpipe.

Re: EcmaScript

2004-11-28 Thread James Mastros
Dan Sugalski wrote: Absolutely. Compilers do *not* have to be integrated in with parrot -- my current work project uses Parrot as its back end, but the compiler's written in perl as a standalone program. Works just fine. (Though a Javascript compiler written in Javascript could bootstrap itself

Re: Angle quotes and pointy brackets

2004-11-28 Thread John Macdonald
On Sun, Nov 28, 2004 at 12:24:08PM -0500, John Macdonald wrote: On Sat, Nov 27, 2004 at 08:21:06PM +0100, Juerd wrote: James Mastros skribis 2004-11-27 11:36 (+0100): Much more clear, saves ` for other things I like the idea. But as a earlier thread showed, people find backticks ugly.

Re: How immediate is immediate

2004-11-28 Thread Leopold Toetsch
Leopold Toetsch [EMAIL PROTECTED] wrote: Luke Palmer wrote: The question is, if the sub should already be run, when the subroutine is parsed. If yes, the example code would run, if the whole parser/lexer thingy were reentrant. I've that example running now. Compiling is basically reentrant

Re: EcmaScript

2004-11-28 Thread liorean
On Sun, 28 Nov 2004 12:37:03 +0100, James Mastros [EMAIL PROTECTED] wrote: Dan Sugalski wrote: Absolutely. Compilers do *not* have to be integrated in with parrot -- my current work project uses Parrot as its back end, but the compiler's written in perl as a standalone program. Works

Re: [Fwd: Re: [CVS ci] opcode cleanup 1 - minus 177 opcodes]

2004-11-28 Thread Thomas Seiler
Leopold Toetsch wrote: [...] Just if you had 32 N regs used before. It's using only one additional register. [...] I did not touch any PMC ops. You are of course right, maybe I hadn't had enough coffee this morning. Sorry for the bother, and keep up the good work. tom (who is going back into

Re: EcmaScript

2004-11-28 Thread Matt Diephouse
On Sun, 28 Nov 2004 23:03:32 +0100, liorean [EMAIL PROTECTED] We'll see how I'll do it eventually. Right now I've just begun working on a lexer and parser. It would be easy to do if I dropped regular expressions support, but the regular expressions syntax makes the lexer dependent upon the

Re: PGE issues

2004-11-28 Thread Patrick R. Michaud
On Sun, Nov 28, 2004 at 01:33:08AM -0500, William Coleda wrote: A few issues with the recent CVS doings... 1) runtime/parrot/library/runtime/PGE.pir doesn't compile by default. Which it can't, because: 2) PGE doesn't build by default. Should it? If so, then... Eventually PGE should build

[ANNOUNCE] Test::Simple/More/Builder 0.52

2004-11-28 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.52.tar.gz or http://mungus.schwern.org/svn/CPAN/Test-Simple/tags/VERSION=0.52 or svn://mungus.schwern.org/CPAN/Test-Simple/tags/VERSION=0.52 or a CPAN near you This is the one bug release. There's one bug left in the RT queue (everything else is

Re: Angle quotes and pointy brackets and heredocs

2004-11-28 Thread Rod Adams
On Fri, Nov 26, 2004 at 07:32:58AM +0300, Alexey Trofimenko wrote: I notice that in Perl6 thoose funny « and » could be much more common than other paired brackets. And some people likes how they look, but nobody likes fact that there's no (and won't!) be a consistent way to type them in

Re: [CVS ci] opcode cleanup 1 - minus 177 opcodes

2004-11-28 Thread Leopold Toetsch
Thomas Seiler [EMAIL PROTECTED] wrote: Another change that need more thought: * (is)?g[t,e] N, P variants are *not* redundant Ops with PMCs aren't changed at all. ,--[ ABI_CHANGES ]- | The compare and branch opcodes gt, ge, isgt, and isge for I,