Re: C C and lazyness

2004-07-03 Thread Brent 'Dax' Royal-Gordon
specifically asked for: my @e=grep { even() } :lazy 1..1024; -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: if not C<,> then what?

2004-07-09 Thread Brent &#x27;Dax' Royal-Gordon
identifier exec { foo; bar } while baz; # assuming we rename exec execute { foo; bar } while baz;# longer, still stupid eval { foo; bar } while baz; # we just escaped overloaded eval { foo; bar }() while baz; # bare-bones -- Brent "Dax" Royal-Go

Re: push with lazy lists

2004-07-12 Thread Brent &#x27;Dax' Royal-Gordon
hing, or a sysadmin killing the program. (Unless safe mode restricts the length of lazy lists, which I would recommend given the existence this little ball of hate.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: [perl #30683] t/pmc/fixedpmcarray.t test 9 counts system qsort hence fails

2004-07-12 Thread Brent &#x27;Dax' Royal-Gordon
seems like the only safe thing to check. See attached patch, which changes the test to use output_like instead of output_is. I really wish qr// worked with heredocs... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasi

Re: enhanced open-funktion

2004-07-15 Thread Brent &#x27;Dax' Royal-Gordon
r/bin/foo"; $both=open :rw "|/usr/bin/foo"; The pipe would be legal on either side of the string. This would still allow the often-useful "type a pipe command at a prompt for a file", while matching the trait-based syntax suggested elsewhere. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Parrot config - a small perl task

2004-07-16 Thread Brent &#x27;Dax' Royal-Gordon
/data.pl:ar=> $Config{ar}, config/init/data.pl: ranlib=> $Config{ranlib}, config/init/data.pl:make => $Config{make}, config/init/data.pl:make_set_make => $Config{make_set_make}, -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: String interpolation

2004-07-21 Thread Brent &#x27;Dax' Royal-Gordon
a (gasp!) attribute: my @foo = (1,2,3,4,5); @foo.separator='//'; Roles are nice, but don't forget about the other mechanisms in Perl for such things. [Forgot to send it to the list. D'oh.] -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: String interpolation

2004-07-21 Thread Brent &#x27;Dax' Royal-Gordon
[Forgot to send it to the list. D'oh.] Wow, I'm really having a bad e-mail day. Sorry, guys. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: String interpolation

2004-07-21 Thread Brent &#x27;Dax' Royal-Gordon
a (gasp!) attribute: my @foo = (1,2,3,4,5); @foo.separator='//'; Roles are nice, but don't forget about the other mechanisms in Perl for such things. [Forgot to send it to the list. D'oh.] [And then I sent it to the wrong one. D'oh * 2.] -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: String interpolation

2004-07-21 Thread Brent &#x27;Dax' Royal-Gordon
call looks like foo('bar', 'baz'); Hmm...breaks the parallel with {} and []. But it seems to me that &foo.('bar','baz') should work, at least outside a string. Roles are nice, but don't forget about the other mechanisms in Perl for such things. Erm,

Re: String interpolation

2004-07-21 Thread Brent &#x27;Dax' Royal-Gordon
Uri Guttman wrote: how would you put in the literal string $foo.bar()? escaping the . or the ( ? The dollar sign. (Or, if you wanted to interpolate $foo while leaving the .bar() intact, I would imagine that either \. or \( would suffice.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECT

Re: xx and re-running

2004-07-23 Thread Brent &#x27;Dax' Royal-Gordon
ssed with reduce(), IIUC. I would hope that Perl 6 will have reduce() as well--perhaps even in a form that doesn't require using List::Util explicitly. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Why do users need FileHandles?

2004-07-24 Thread Brent &#x27;Dax' Royal-Gordon
lly install from the CPAN anything that isn't present, as a core behavior right out of the box. Security nightmare. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Why do users need FileHandles?

2004-07-24 Thread Brent &#x27;Dax' Royal-Gordon
David Storrs wrote: #!/usr/bin/perl6 #use warnings; # Note that I am NOT explicitly using these #use strict; { no 'warnings'; no 'strict'; # These must be explicitly turned off... no installation_security; # or this would throw warning & error use SomeModule; # use OtherMod

Re: This week's summary

2004-07-26 Thread Brent &#x27;Dax' Royal-Gordon
teacher? *ducks* -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: This week's summary

2004-07-28 Thread Brent &#x27;Dax' Royal-Gordon
Piers Cawley wrote: Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> writes: Care to explain what those are, O great math teacher? What's a math teacher? It's the right^H^H^H^H^HAmerican way to say "maths teacher". -- Brent "Dax" Royal-Gordon <[EMA

Re: Stack Based Language

2004-07-28 Thread Brent &#x27;Dax' Royal-Gordon
ion operates on its operands. # bar=1+foo get_var r0, "foo" add r1, 1, r0 set_var "bar", r1 Note that the above examples are just pseudocode. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: ICU Outdated - Ideas

2004-08-03 Thread Brent &#x27;Dax' Royal-Gordon
upport for Unicode characters 0..127, encoded in UTF-8. (In other words, classic US-ASCII.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: We have spawn, and now we need exec

2004-08-05 Thread Brent &#x27;Dax' Royal-Gordon
Dan Sugalski wrote: I'd love it if someone with windows experience could fill in the blank there. Just add an _ before exec. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__exec.2c_._wexec_functions.asp -- Brent "Dax" Royal-Gordon <[EMAIL PR

Re: parrot cvs mirrored with svk

2004-08-07 Thread Brent &#x27;Dax' Royal-Gordon
for Parrot--just that we can't be sure it is until we try, and this seems like a much wiser way to do so than converting the master repository. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Functions for embedders to override

2004-08-12 Thread Brent &#x27;Dax' Royal-Gordon
would assume (hope) that these tables would not be allowed to change once Parrot started using them. It seems like an extremely dangerous thing to have two calls to read() be performed by different functions, after all. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Handling block parameters in Ruby

2004-08-13 Thread Brent &#x27;Dax' Royal-Gordon
houldn't generalize the concept of these slots somehow. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Popping an empty stack

2004-08-17 Thread Brent &#x27;Dax' Royal-Gordon
lieve that this is exactly the sort of language-specific behavior that PMCs were designed to solve. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Synopsis 4 draft 1

2004-08-20 Thread Brent &#x27;Dax' Royal-Gordon
nt syntactic group: > > macro statement:if ($expr, &ifblock) {...} > macro statement:while ($expr, &whileblock) {...} > macro statement:BEGIN (&beginblock) {...} And he answers another "but how do we..." question with a simultaneous [unific|simplific|gener

Re: A thought for later -- POD tables

2004-08-22 Thread Brent &#x27;Dax' Royal-Gordon
t; <$> >> | scalar sub truth | match if C<$x($_)> [1] Actually, in CSS a table is neither an inline nor a block construct--it's considered its own category, because normal block constructs have a default width of 100%, while tables are only wide enough to hold their contents. Same difference... -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Return with no expression

2004-08-24 Thread Brent &#x27;Dax' Royal-Gordon
of '::' being discussed in this thread. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Return with no expression

2004-08-24 Thread Brent &#x27;Dax' Royal-Gordon
Dave Whipp <[EMAIL PROTECTED]> wrote: > > "Brent 'Dax' Royal-Gordon" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > The overloading of 'or' there is (IMHO) far more dangerous than the > > overloading of '::&#

Re: No Autoconf, dammit!

2004-09-09 Thread Brent &#x27;Dax' Royal-Gordon
e to be very careful to remember that you aren't the world, and that not everybody runs what you run. I run x86 Windows and Linux, and occasionally work with FreeBSD; that doesn't mean my work on Parrot shouldn't support OS X running on a G5 processor as a 64-bit program, or (heaven

Re: No Autoconf, dammit!

2004-09-09 Thread Brent &#x27;Dax' Royal-Gordon
cp buildmini/miniplatform.c src/platform.c $CC -DMINIPARROT_UNIXISH -I./include foo.c $CC -DMINIPARROT_UNIXISH -I./include bar.c $CC -DMINIPARROT_UNIXISH -I./include baz.c ... All of the heavy probing would be done in miniparrot, an environment with consistent (if limited) semantics.

Re: Config parameter files

2004-09-09 Thread Brent &#x27;Dax' Royal-Gordon
table. So we could build them with a locally-available Parrot, then transfer them to the target platform. I don't think it's onerous to require that you have a full Parrot built on the source platform... -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Par

Re: [PATCH] dynamic pmc libraries

2004-09-09 Thread Brent &#x27;Dax' Royal-Gordon
and Tiny nit: for consistency with other Configure source files, this should probably be named dynclasses_pl.in. No big deal, though. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: Namespaces

2004-09-12 Thread Brent &#x27;Dax' Royal-Gordon
ing this buys you is that you can have a Perl package: class Foo::Bar {...} And in Python, refer to it with Python's syntax: bar = __Perl.Foo.Bar() Since both of them boil down to the same thing: ["__Perl"; "Foo"; "Bar"] -- Brent 'Dax

Re: NCI basics

2004-09-15 Thread Brent &#x27;Dax' Royal-Gordon
tem got trashed. It should be virtually impossible to cause a panic from Parrotspace. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: S5: array interpolation

2004-09-15 Thread Brent &#x27;Dax' Royal-Gordon
'@a[9]' ~~ m:/ @a /; # false I think he means "as opposed to a subrule". In Perl 5 terms, there's an implicit \Q\E around each value in the array. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: Namespaces, part 1

2004-09-22 Thread Brent &#x27;Dax' Royal-Gordon
bles; where else is this required? [Still need to learn to use Reply to All...] -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: Am I a part of this world ?

2004-10-12 Thread Brent &#x27;Dax' Royal-Gordon
l, since there aren't too many Windows hackers here. If you're familiar with assembly language on a processor other than the i386, the JIT people could use a hand. If you know Python, there's a half-finished Python implementation you can work on...just poke around and you'll

Re: Am I a part of this world ?

2004-10-12 Thread Brent &#x27;Dax' Royal-Gordon
to > makefiles which we'd ship with Parrot and then simply reference from the > main makefile. <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_exporting_a_makefile.asp> -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Pa

Re: [PATCH] Re: [perl #31978] [BUG] dynclasses broken

2004-10-16 Thread Brent &#x27;Dax' Royal-Gordon
my Linux box, navi: Linux navi 2.4.18-opt #2 SMP Sun May 23 17:39:01 PDT 2004 i686 GNU/Linux This is perl, v5.8.2 built for i686-linux-thread-multi and everything seems to work. However, I'd appreciate testing from people on other platforms, particularly ones with their own platfor

Re: Python bound and unbound methods

2004-10-06 Thread Brent &#x27;Dax' Royal-Gordon
ect that Python will just need slightly fancy vtables for method and attribute lookup--nothing Parrot can't handle. It might not even need a separate vtable for the two of them, although it should implement both for interop. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Pe

Re: [PATCH] Re: [perl #31978] [BUG] dynclasses broken

2004-10-17 Thread Brent &#x27;Dax' Royal-Gordon
On Sat, 16 Oct 2004 19:17:44 -0400, William Coleda <[EMAIL PROTECTED]> wrote: > All tests successful, 4 tests and 52 subtests skipped. Committed, then. Thanks. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently ha

NOTICE: New interpreter naming (people with pending patches, read this now)

2004-10-17 Thread Brent &#x27;Dax' Royal-Gordon
ase check it to make sure it's compatible with the new naming. Thanks, -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: Namespaces again

2004-09-29 Thread Brent &#x27;Dax' Royal-Gordon
;put a variable in this package" } } And Python would access them like so: File.ns.Path.sub.new() Not perfect, certainly, but it would work, and be reasonably elegant. (This does pose a problem going the other way, but I suspect Perl could simply mark its own packages in some way, and fa

Re: Namespaces again

2004-09-30 Thread Brent &#x27;Dax' Royal-Gordon
Chip Salzenberg <[EMAIL PROTECTED]> wrote: > According to Brent 'Dax' Royal-Gordon: > > (This does pose a problem going the other way, but I suspect Perl > > could simply mark its own packages in some way, and fall back to a > > simpler scheme, such as "ig

Re: Namespaces, part 2

2004-10-04 Thread Brent &#x27;Dax' Royal-Gordon
] (or, for the last one, whatever the namespace that @*ARGS and friends are in is called), so that the search for $quux can be done very easily. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal. [I currently have a couple Gmail invites--contact me if you're interested.]

Re: Namespaces, part 2

2004-10-05 Thread Brent &#x27;Dax' Royal-Gordon
Jeff Clites <[EMAIL PROTECTED]> wrote: > On Oct 4, 2004, at 9:58 PM, Brent 'Dax' Royal-Gordon wrote: > > You can have "the current namespace" actually be [ ::Foo::Bar::Baz, > > ::Foo::Bar, ::* ] (or, for the last one, whatever the namespace that > >

Re: Q: newsub opcodes

2004-10-29 Thread Brent &#x27;Dax' Royal-Gordon
while still allowing us to use constants whenever we wanted. I'm not sure if the cost--allocating more register banks and loading the constants into those registers--is worth it, but it might be worth thinking about at least. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Parrot on AMD64

2004-10-29 Thread Brent &#x27;Dax' Royal-Gordon
mplaint that that copy of Parrot can't do the JIT thing, but that's hardly surprising. [1] The exact message: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: src/nci_test.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with

Re: Perl6/Parrot and Backwards Compatability

2004-10-31 Thread Brent &#x27;Dax' Royal-Gordon
nie. Ones that muck around in the internals of SVs, or deal with things like the parse tree (B::*), will need to be rewritten. (But many of those things are necessary because Parrot does them very differently--e.g. it uses bytecode instead of executing the parse tree directly.) -- Brent 'Dax

Re: [perl #32278] [PATCH] Adds a she-bang line to config/*.pl

2004-11-01 Thread Brent &#x27;Dax' Royal-Gordon
#x27;t > have this line already. These scripts can only be run by Configure "do"ing them. I don't think it really makes sense for them to have shebang lines. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Perl 6 Summary for 2004-10-23 through 2004-11-01

2004-11-01 Thread Brent &#x27;Dax' Royal-Gordon
Matt Fowles <[EMAIL PROTECTED]> wrote: >Parrot on AMD64 > Brent 'Dax' Royal-Gordon managed to find an AMD64 for himself. Not only > am I jealous, but Parrot passes all expected tests on it when one adds > --ccflags=':add{ -fPIC }'. I then

Re: [perl #32223] [PATCH] Build dynclasses by default.

2004-11-02 Thread Brent &#x27;Dax' Royal-Gordon
r run the make > command manually: Compiles here, unsurprisingly. $ uname -a Linux brent-linux 2.6.9-gentoo-r1amd64-1 #2 Tue Oct 26 23:15:26 UTC 2004 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: Search paths and library routines

2004-11-04 Thread Brent &#x27;Dax' Royal-Gordon
e don't end up using the pbc2cc utility I've written, the patches to embed.[ch] might be useful; they implement a new embedding interface function for loading a packfile that's already in memory.) -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacke

Re: No C op with PMC arguments?

2004-11-04 Thread Brent &#x27;Dax' Royal-Gordon
-point? Fixed-point? Bignum? Bigrat? Complex? Surreal? Matrix? N registers don't even begin to encompass all the "numbers" out there. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: No C op with PMC arguments?

2004-11-04 Thread Brent &#x27;Dax' Royal-Gordon
On Thu, 4 Nov 2004 21:46:19 -0800, Jeff Clites <[EMAIL PROTECTED]> wrote: > On Nov 4, 2004, at 8:29 PM, Brent 'Dax' Royal-Gordon wrote: > > This is true. But how do you define a number? Do you include > > floating-point? Fixed-point? Bignum? Bigrat? Co

uc import

2004-02-23 Thread Brent \&quot;Dax\" Royal-Gordon
ost assumes that import isn't going away entirely. --Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Exegesis 7: Literal '{' in format string

2004-02-29 Thread Brent \&quot;Dax\" Royal-Gordon
#x27;t special by itself. Would that need to be a double backslash in a double-quoted string, or is there some new Perl 6 magic that keep it from being needed? -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: [perl #27301] [PATCH] \t\pmc\exec.t Tests spawnw opcode

2004-03-02 Thread Brent \&quot;Dax\" Royal-Gordon
ased on either Unix experience or open-source experience--when I submitted my first patches, I'd never sat at a Unix workstation or server, submitted code to another Open Source project, or even written C. (C++, yes, but not C.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTE

Freezing strings?

2004-03-05 Thread Brent \&quot;Dax\" Royal-Gordon
String and tweaking it, I can probably do it, but I've been out of the loop for a while, so anything particularly involved is likely beyond me. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Freezing strings?

2004-03-06 Thread Brent \&quot;Dax\" Royal-Gordon
er wasn't very happy with that--complained about being unable to find VTABLE_shift_number and VTABLE_push_number, so I undid that. By the way, I never realized how patient you gcc guys were with the computed-goto core--VC++ doesn't support it, so I didn't know that it took so long to c

Re: Freezing strings?

2004-03-06 Thread Brent \&quot;Dax\" Royal-Gordon
Leopold Toetsch wrote: Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> wrote: I also tried to add freeze and thaw to PerlNum (as long as I was screwing around in that bit of the code), but the linker wasn't very happy with that--complained about being unable to find VT

Re: cygwin

2004-03-07 Thread Brent \&quot;Dax\" Royal-Gordon
7;ve enabled it once or twice, usually back in high school when I wanted to access it in AP Computer Science.) And with Cygwin tools around, it wouldn't be hideously painful to use the command line. Come to think of it, you might be able to find a telnetd or sshd for Cygwin... -- Brent "

Re: A Perl Task - Benchmarking

2004-03-07 Thread Brent \&quot;Dax\" Royal-Gordon
nning of your little script. I'd imagine that you could reasonably stipulate that the interpreters have to be in your PATH or specified on the command line somehow. (And Perl's location should be in Parrot::Config anyway.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED

Re: This week's summary

2004-03-08 Thread Brent \&quot;Dax\" Royal-Gordon
I was working with emacs via ssh and don't know the proper keyboard shortcuts for either yet.) Now, back to gutting Configure... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Dates and Times

2004-03-09 Thread Brent \&quot;Dax\" Royal-Gordon
tten to be as fast as possible. Besides, how fast does your date handling really need to be? I mean, *really*? Are you formatting eleventy billion dates in a tight loop or something? -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at

Re: [PROPOSAL] C opcode and interface

2004-03-10 Thread Brent \&quot;Dax\" Royal-Gordon
e final build system. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia. [Ugh.]

Re: Mutating methods

2004-03-10 Thread Brent \&quot;Dax\" Royal-Gordon
rhs => Perl::method_call.new( term => $lhs, method => $rhs, ) ); } TMTOWTDI, I suppose... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Mutating methods

2004-03-10 Thread Brent \&quot;Dax\" Royal-Gordon
Damian Conway wrote: / $foo:=(abc) $bar:=(def) / Am I misreading, or are you suggesting that $foo may contain 'abc' after running this example, even if the match wasn't successful? -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Ocea

Re: [PROPOSAL] C opcode and interface

2004-03-10 Thread Brent \&quot;Dax\" Royal-Gordon
oting constructs may not even come into play. The plan was always *three*-step: platform specific shell script -> miniparrot -> full parrot The shell scripts (or batch files, or...) in the first steps can pass a couple extra -Ds to Miniparrot if they're really necessary. -- Bren

Re: newbie question....

2004-03-12 Thread Brent \&quot;Dax\" Royal-Gordon
ut the argument types involved than it is for them to throw away information they already have. (Besides, it's not that big a deal with PMCs--a PythonString can put the same code in its concat_*() and add_*() vtable entries.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]>

Re: newbie question....

2004-03-12 Thread Brent \&quot;Dax\" Royal-Gordon
d for strings. We need a separate concat(in PMC, in PMC, in PMC), so we might as well have concat(out STR, in STR, in STR) too. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Configure changes

2004-03-12 Thread Brent \&quot;Dax\" Royal-Gordon
ed into a few more general steps in this scheme. It'd be nice to rename some of the steps once I'm finished with them, to reflect their new functions. IIRC that's a hassle, though, so I'm not by any means going to insist on it. Comments welcome on any part of this whole scheme. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Mutating methods

2004-03-12 Thread Brent \&quot;Dax\" Royal-Gordon
and* puts the less important bit on the LHS. Bah. Just use 'wa' and make the world learn Japanese. :^P -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Using Ruby Objects with Parrot

2004-03-13 Thread Brent \&quot;Dax\" Royal-Gordon
e of the moon, you'd better check your almanac, because your call from Python will reflect that too. For a class method, I assume it'd look something like this: getclass P2, foo callmethod "bar" Once again, no poking around in foo's guts. Just "gimmie your clas

Re: Configure.pl and the history of the world

2004-03-16 Thread Brent \&quot;Dax\" Royal-Gordon
Dan Sugalski wrote: Instead, what I'd like is for someone (Oh, Brent... :) to go through perl's configure Gulp. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: [perl #27690] Numeric comparison bug

2004-03-18 Thread Brent &#x27;Dax' Royal-Gordon
How close is string_to_num() to being adequate for Parrot_sprintf()'s purposes? (It currently falls back to the platform sprintf for floats, because I didn't have, and still don't have, any idea how to properly format a float.) -- Brent "Dax" Royal-Gordon <[EMAIL

[Semi-OT] The ^^ operator

2004-03-18 Thread Brent &#x27;Dax' Royal-Gordon
le dozen offshoots of that class, actually, which is really rather scary. Definitely been chatting with too many anime fans...) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: PerlNum -0.0 bug?

2004-03-18 Thread Brent &#x27;Dax' Royal-Gordon
ve copysign so the following > does link correctly on it. > > # define Parrot_is_nzero(x) ((x) == copysign(0.0, -1.0)) > > Thus this could be usable as a default if signbit is unavailable. > > Matt -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: [perl #27690] Numeric comparison bug

2004-03-18 Thread Brent &#x27;Dax' Royal-Gordon
Leopold Toetsch wrote: BTW sscanf() is missing too. I have never used scanf. I have no idea what it does or how. Therefore, I'm hardly qualified to write an implementation of it. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: cvs commit: parrot/config/gen/platform/generic math.h

2004-03-19 Thread Brent &#x27;Dax' Royal-Gordon
Leopold Toetsch wrote: Courtesy of Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Er...that wasn't me--I was just passing it along, as I said in the message. (If it was me, I'd likely have committed it myself. ;^) ) Credit goes to Matt Fowles <[EMAIL PROTECTED]>. (

Re: [CVS ci] OpsFile hints - 1

2004-03-19 Thread Brent &#x27;Dax' Royal-Gordon
pcode should do event checking, e.g. invoke and such. We also need a way to mark ops for inclusion in miniparrot's limited op set--although it might be better to do that in an external file. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania h

Re: Optimizations for Objects

2004-03-19 Thread Brent &#x27;Dax' Royal-Gordon
lly, that is. Realistically, it might make sense to do so if you have a few thousand spare return continuations floating around. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: [CVS ci] OpsFile hints - 1

2004-03-19 Thread Brent &#x27;Dax' Royal-Gordon
nals, processes (except system()), possibly binary data, probably environment variables...you get the idea. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Configure.pl and the history of the world

2004-03-19 Thread Brent &#x27;Dax' Royal-Gordon
d right as we stumble about without knowing if we can even do Unix-style I/O redirection.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Optimization in context

2004-03-21 Thread Brent &#x27;Dax' Royal-Gordon
ncredible slowness of the interpreter would be overwhelming, and nobody would want to try to optimize it. Just a thought. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Dereferencing Syntax (Was: Outer product considered useful)

2004-03-23 Thread Brent &#x27;Dax' Royal-Gordon
into list context. Which shouldn't affect anything. So I think it's probably a mistake. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Load paths

2004-03-24 Thread Brent &#x27;Dax' Royal-Gordon
That should handle most common cases nicely, I think. And I do think URIs aren't a horrible idea, although it doesn't matter since you disagree. Ah well... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Dereferencing Syntax (Was: Outer product considered useful)

2004-03-25 Thread Brent &#x27;Dax' Royal-Gordon
Larry Wall wrote: say @bar.elems; # prints 1 C? Not C? -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Windows tinder builds

2004-03-26 Thread Brent &#x27;Dax' Royal-Gordon
Dan Sugalski wrote: At 7:26 PM +0100 3/26/04, Leopold Toetsch wrote: --define=inet_aton Quick hack to use inet_aton instead of inet_pton Sounds like a job for a hints file. :) Done. (Done hackishly, but done.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parro

Re: Behaviour of PMCs on assignment

2004-03-26 Thread Brent &#x27;Dax' Royal-Gordon
st Work most of the time, and there's always the null_p op when you need to do it explicitly.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Windows tinder builds

2004-03-26 Thread Brent &#x27;Dax' Royal-Gordon
uilds nicely. (I was previously just using Cygwin to get at its X server. (This message is starting to look like Lisp.))) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Behaviour of PMCs on assignment

2004-03-27 Thread Brent &#x27;Dax' Royal-Gordon
lus or minus morphing code.) The big problem is some_integer_type. I'm not really sure what to do about that. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

<    4   5   6   7   8   9