Re: Solving '=' confusion: ':=' for aliasing

2005-11-29 Thread Brent 'Dax' Royal-Gordon
Chip Salzenberg <[EMAIL PROTECTED]> wrote: > On Tue, Nov 29, 2005 at 12:14:24PM -0800, Brent 'Dax' Royal-Gordon wrote: > > I'm not sure about the last two (in a lot of ways, they're more like > > := than = ), > > I don't see that. Well, f

Re: Solving '=' confusion: ':=' for aliasing

2005-11-29 Thread Brent &#x27;Dax' Royal-Gordon
gt;N0 := ... # ILLEGAL >N0 = ... # assignment: modifies N0 I'm not sure about the last two (in a lot of ways, they're more like := than = ), but it's certainly far better than the status quo. I suppose that copying looks like: S0 := copy S1 -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: perl6

2005-11-16 Thread Brent &#x27;Dax' Royal-Gordon
the "Status" page on dev.perl.org/perl6 is hopelessly out of date; that should probably be rectified.) -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: Hashing: avoid MD5 and SHA-1; use SHA-2 or Whirlpool

2005-11-16 Thread Brent &#x27;Dax' Royal-Gordon
ptographers need to do a lot of theoretical work on hashing--they don't really know how to design a strong algorithm yet.) -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: HLL Debug Segments

2005-11-15 Thread Brent &#x27;Dax' Royal-Gordon
pragma, it should have the syntax of a pragma. Use a leading dot; you'll thank yourself later. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: rx ops and support is deprecated

2005-10-04 Thread Brent &#x27;Dax' Royal-Gordon
ops were an early experiment based on an incomplete understanding of the problem. I wrote the optimized int stack too for the rx ops--are you planning on keeping that? -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: [perl #16622] [PATCH PDD07] Document struct naming conventions

2005-09-20 Thread Brent &#x27;Dax' Royal-Gordon
Yet another year has rolled by. Do you still want this change to be > considered? Certainly. Note that the naming conventions are now being followed by Interp and friends. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: Optimizer Documentation

2005-09-01 Thread Brent &#x27;Dax' Royal-Gordon
the loop, TURNED OFF (not currently working) =back 4 =head1 AUTHOR Curtis Rawls <[EMAIL PROTECTED]> -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: s/rx.ops// ?

2005-07-23 Thread Brent &#x27;Dax' Royal-Gordon
Will Coleda <[EMAIL PROTECTED]> wrote: > What's the plan for the regular expression ops, given PGE? As the guy who wrote them, I think at this point that they're basically unsalvageable, save the intstacks and *maybe* the bitmap handling code. -- Brent 'Dax' R

Re: Pondering the unification of @MULTI and get_params

2005-06-14 Thread Brent &#x27;Dax' Royal-Gordon
.param Str $P1 .param Array $P2 fold -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: Attack of the fifty foot register allocator vs. the undead continuation monster

2005-06-13 Thread Brent &#x27;Dax' Royal-Gordon
there are tied variables present which might do strange things like that, the compiler should emit a PIR directive saying "anything goes in this section". Perhaps some languages will always do that, but that's the price of working in those languages. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: [RFC] assign Px, Py

2005-04-27 Thread Brent &#x27;Dax' Royal-Gordon
y assign Px, Py copy values > > future: > >Px := Py set Px, Py >Px = Pyassign Px, Py > > This would much more resemble the HLL's (and programmers) POV. Sounds like a good idea to me. For completeness, can we come up with a clone

Re: [perl #34912] Badly balanced at classes/pmc2c2.pl

2005-04-11 Thread Brent &#x27;Dax' Royal-Gordon
on number like Subversion. SVN revision number is an excellent idea. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker "I used to have a life, but I liked mail-reading so much better."

Re: Subversion in the wings

2005-04-07 Thread Brent &#x27;Dax' Royal-Gordon
Robert Spier <[EMAIL PROTECTED]> wrote: > Any questions? I assume current committer bits will be transitioned over too? -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker "I used to have a life, but I liked mail-reading so much better."

Re: Configuration (was Re: Monthly Release Schedule)

2005-04-07 Thread Brent &#x27;Dax' Royal-Gordon
on't require a 'make' (and won't have to attempt to make different 'make's work); all you'll need is a compiler, linker, and C library. This also implies that configure.pbc and build.pbc will probably have to be carefully written to work with the limited process-mani

Re: Passing on the hat

2005-03-21 Thread Brent &#x27;Dax' Royal-Gordon
Generation" (aka Topaz). Chip's a darned sharp guy, > desperately over-qualified, and one of the few people I know who can > do off-the-cuff MST-ing of modern cinema. Congratulations to Chip, our new Fearless Leader. And thanks for your time and guidance, Dan--Parrot wouldn&#x

Re: test_main.c oversight

2005-01-22 Thread Brent &#x27;Dax' Royal-Gordon
William Coleda <[EMAIL PROTECTED]> wrote: > Then lets remove the file to avoid further confusion. test_main.c is being retained as an example of a non-trivial, but still clean, Parrot embedding. imcc/main.c is way too complicated and incestuous with internals to fill this role. -- B

Re: Native data structure for parrot?

2004-12-29 Thread Brent &#x27;Dax' Royal-Gordon
ray PMC. You can also get at a C-level struct using the ManagedStruct and UnManagedStruct PMCs, though access is a bit clumsy IIRC. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker "I might be an idiot, but not a stupid one." --c.l.p.misc (name omitted to protect the foolish)

Re: svn

2004-12-09 Thread Brent &#x27;Dax' Royal-Gordon
Michael G Schwern <[EMAIL PROTECTED]> wrote: > 1) Are they easily available on all the platforms Parrot is? Various > Unixen, OS X, Windows. Is there any hope for a VMS port? Can we add "are there GUIs for Windows, OS X, and other platforms with wimpy users?" ;^) -- Br

Re: Parrot & Strong typing

2004-12-01 Thread Brent &#x27;Dax' Royal-Gordon
t's written in preprocessed C, though, so there isn't really an "object" involved--it's just a struct.) Those methods can do anything, including whatever validation you want to add to them. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker "I might be an idiot, but not a stupid one." --c.l.p.misc (name omitted to protect the foolish)

Re: [perl #32643] [TODO] Remove Perl* PMCs from opcodes

2004-11-26 Thread Brent &#x27;Dax' Royal-Gordon
Will Coleda wrote: > The following opcodes return 'PerlUndef' on failure, instead of 'Undef' or > null. > > open, socket, fdopen, dlfunc, dlvar, find_global Patch attached that changes all these to Undef. -- Brent 'Dax' Royal-Gordon <[EMAIL PR

Re: IEEE 754 double floats

2004-11-15 Thread Brent &#x27;Dax' Royal-Gordon
as its floating-point type. The problem is probably with the precision of 'print N0'; try using the 'sprintf' opcode and printing the resulting string instead. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: [PATCH] A little more Configure info

2004-11-14 Thread Brent &#x27;Dax' Royal-Gordon
ly gcc....yes. Thanks, applied. -- Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker There is no cabal.

Re: [perl #32356] AutoReply: [PATCH] update to embed.pod

2004-11-08 Thread Brent &#x27;Dax' Royal-Gordon
ernals-only header--including it exposes all of Parrot's guts to the embedder. Note this comment at the top of parrot.h: # /* Only parrot core files should include this file. #Extensions should include . #Programs embedding parrot should include . # */ And the define a few lines down:

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

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: 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: [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: 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 #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.

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: 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.

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: [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

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: 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: 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: 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: 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: 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 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 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, 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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.] -- 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: [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: Regexp::Parser v0.02 on CPAN (and Perl 6 regex question)

2004-07-01 Thread Brent &#x27;Dax' Royal-Gordon
is why there's , but I just wanted to be sure of this. Nope. Theoretically (IIRC): : fail this atom :: fail this group ::: fail this rule fail this regex But Larry decided that was going just a bit too far, so he named it instead. -- Brent "Dax" Royal-Gordon <[

Re: Slices and iterators

2004-06-16 Thread Brent &#x27;Dax' Royal-Gordon
;data, $right{$_->type}; } You may have a point about parsing, since that's done in C. However, I can't imagine it's *that* much more difficult to do (except that <>'s use in comparison ops might make that particular pair of characters unsuitable). -- Brent "

Re: Simple trinary ops?

2004-06-16 Thread Brent &#x27;Dax' Royal-Gordon
Dan Sugalski wrote: min P1, P2, P3 max P1, P2, P3 Opinions? Subroutine, man, subroutine. NCI if you need it to be fast. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Slices and iterators

2004-06-16 Thread Brent &#x27;Dax' Royal-Gordon
Dan Sugalski wrote: Which reminds me--we need to have a syntax to distinguish between key types. Perl already gives us two of the three: Px[Iy] Px{Sy} For the third, I suggest we extend the analogy: Px -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot ha

Re: Strings. Finally.

2004-06-14 Thread Brent &#x27;Dax' Royal-Gordon
ith a forward scan from the start of the string (the way getcodepoint would have to be implemented with a variable-width encoding), or do you have another trick up your sleeve? setbyte Sx, Iy, Iz (u)setcodepoint Sx, Iy, Iz (u)setgrapheme Sx, Sy, Iz Likewise. -- Brent "Dax&quo

Re: Layering PMCs

2004-05-31 Thread Brent &#x27;Dax' Royal-Gordon
o customize a bunch of PMC types when you could write it once and push it on as a layer? Can this be done with special subclasses? Sure. But if we do it with a true layering system, we get an incredible amount of power essentially for free. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTE

Re: Layering PMCs

2004-05-30 Thread Brent &#x27;Dax' Royal-Gordon
o with PMCs yet. (I could imagine, for example, people wanting to push a transcoding layer onto a string or aggregate PMC, which forces all incoming strings into a certain encoding. Or a layer that lowercases incoming keys. Or, or, or...) -- Brent "Dax" Royal-Gordon <[EMAIL PRO

Re: Layering PMCs

2004-05-29 Thread Brent &#x27;Dax' Royal-Gordon
a new PMC, copy the old PMC's guts into it, and set up the layer in the old PMC". External references to the PMC are more important than internal ones. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: compiler-faq

2004-05-29 Thread Brent &#x27;Dax' Royal-Gordon
variable number of PMC arguments and wrap them in an C PMC. I may just be an idiot, but why can't someone just write C (or somesuch) as the complement of C? -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Non-flow-control logical tests

2004-05-20 Thread Brent &#x27;Dax' Royal-Gordon
Dan Sugalski wrote: istrue I0, P5# I0 = 1 if P5 is true isgt I0, P5, P6 # I0 = i if P5 > P6 By all means! I've thought non-branching comparison ops would be a good idea for years... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker

Re: [PATCH] Re: [perl #29618] [BUG] move_if_diff is too lazy

2004-05-16 Thread Brent &#x27;Dax' Royal-Gordon
Jeff Clites wrote: +local $/; +return if eq ; I hope none of these files are too big. Otherwise, that'll be a painfully huge slurp... -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: PARROT_API, compiler and linker flags (was TODO: Linker magic step for configure)

2004-05-13 Thread Brent &#x27;Dax' Royal-Gordon
e interpreter.h for an example of such a file. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Event design sketch

2004-05-12 Thread Brent &#x27;Dax' Royal-Gordon
hat's the hard part of writing your GUI binding library, you should consider yourself lucky. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Events (I think we need a new name)

2004-05-12 Thread Brent &#x27;Dax' Royal-Gordon
ice? (Too similar to 'notification'?) Message? (Don't really like it, and the term's loaded by ObjC, etc.) Announcement? Really, though, these sound like events to me. It's Parrot telling you that something happened. That's an event in my mind. -- Brent "D

Re: The "Right Way Repository"

2004-05-10 Thread Brent &#x27;Dax' Royal-Gordon
gh some features require C. See the +F files in the root directory for more information about building +Parrot. + =head2 How do I generate a sub call in PIR =head2 How do I generate a method call in PIR -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oce

Re: Cygwin problem: -j not working again

2004-05-10 Thread Brent &#x27;Dax' Royal-Gordon
" anymore.) -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Embedding and stack

2004-05-03 Thread Brent &#x27;Dax' Royal-Gordon
2 May 2004 10:47:54 - 1.306 +++ src/interpreter.c 3 May 2004 19:08:23 - @@ -1726,6 +1726,7 @@ } else { SET_NULL(interpreter->parent_interpreter); +SET_NULL(interpreter->lo_var_ptr); } interpreter->resume_flag = RESUME_INITIAL; -- Bren

Re: Outstanding parrot issues?

2004-05-01 Thread Brent &#x27;Dax' Royal-Gordon
otherwise written in straight C. (Not to mention that Parrot I/O and strings should be a lot nicer than the straight C equivalents...) Parrot must be embeddable in virtually any environment Perl can be. That doesn't mean it has to be as easy, but it has to be possible. If it isn't, we m

Re: File stat info

2004-04-28 Thread Brent &#x27;Dax' Royal-Gordon
,EXECUTE,DELETE,CD} to say if, as the user the program is running as, you can perform these actions? That strikes me as rather useful. (Alternately, could we have a field indicating if the current user is OWNER, GROUP, SYSTEM, or OTHER to this file? Gives you pretty much the same info.) -- Brent

Re: embed.h doesn't work in C++

2004-04-23 Thread Brent &#x27;Dax' Royal-Gordon
Nonetheless, it's a separate issue that this is a good time to address. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: embed.h doesn't work in C++

2004-04-23 Thread Brent &#x27;Dax' Royal-Gordon
e only typedef? We don't use Parrot_String or Parrot_PMC internally. Outside of Parrot, it's still Parrot_Interp, the same as I wrote it way back when I checked the embedding interface in. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: embed.h doesn't work in C++

2004-04-22 Thread Brent &#x27;Dax' Royal-Gordon
Interp *'. Any function that takes the 'Parrot_Interp' typedef should be left alone. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: embed.h doesn't work in C++

2004-04-22 Thread Brent &#x27;Dax' Royal-Gordon
terp *. That ought to save us a couple kilobytes. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Re: Basic Library Paths (was Re: ICU data file location issues)

2004-04-15 Thread Brent &#x27;Dax' Royal-Gordon
ht into parrot. Install it with root ownership and 644 permissions, in a directory with similar settings. (Or the system's equivalent, of course.) Then put big blinking security warnings wherever the documentation talks about editing that file. We can't protect sysadmins from thei

Re: Basic Library Paths (was Re: ICU data file location issues)

2004-04-15 Thread Brent &#x27;Dax' Royal-Gordon
aths to ICU's tables, the paths to search for PMCs, and whatever else we can think of, without a hardcoded limit. Sound sane? I can see splitting up the library base path into sections, but I'm not sure it's worth it. Now'd be the time to argue that, though :) -- Brent "Dax&quo

Re: Plans for string processing

2004-04-13 Thread Brent &#x27;Dax' Royal-Gordon
reason to store strings as UTF-{8,16,32} and waste CPU cycles on decoding it when we can do a lossless conversion to a format that's both more compact (in the most common cases) and faster. -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia.

Ping on [perl #16622] [PATCH PDD07] Document struct naming conventions

2004-04-09 Thread Brent &#x27;Dax' Royal-Gordon
t it again once the situation with ICU has settled down. Thanks, -- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker Oceania has always been at war with Eastasia. Index: docs/pdds/pdd07_codingstd.pod =

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.

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-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
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: 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: 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: 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: [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: 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
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: 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]>. (

  1   2   3   4   5   6   7   >