RE: [perl #17791] [PATCH] Parrot_sprintf-related stuff

2002-10-08 Thread Brent Dax
; --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference is that there is no cat

RE: [perl #17691] [PATCH] Tiny printf type fixup (fwd)

2002-10-07 Thread Brent Dax
. It also converts most uses of fprintf and printf in the core to PIO (when it can--often there isn't an interpreter handy, especially in the PackFile stuff). Oh, and it includes a pony. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind

RE: static line number information

2002-10-07 Thread Brent Dax
we should use DWARF-2. The Mono Project # does something similar. Can you justify these? Parrot may want to support file names in different character sets, which I doubt much of anything else handles correctly. And if we choose to use an existing format, why DWARF-2? --Brent Dax [EMAIL

RE: RFC: library entry name collision

2002-10-06 Thread Brent Dax
with a CS_ prefix. But we already have directory names in front. Why not just change ../key.c to ./key_util.c or ./key_support.c? Or even integrate these files into the corresponding PMC classes? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph

RE: [perl #17766] [PATCH] memory_internals.pod

2002-10-05 Thread Brent Dax
give them back to Parrot. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference

RE: Parrot file list

2002-10-04 Thread Brent Dax
and their memory is freed for later use. A Buffer is the (spiritual) superclass of a String, and will soon be the superclass of a PMC as well. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York

RE: core.ops ate my (miniscule) RAM

2002-10-02 Thread Brent Dax
swap partition. The computed-goto core (in core_ops_cg.c) can't be split. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates

RE: [perl #17691] [PATCH] Tiny printf type fixup (fwd)

2002-10-01 Thread Brent Dax
. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference is that there is no cat

RE: fingerprinting PBC files

2002-09-22 Thread Brent Dax
of all the .ops files? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference

RE: [netlabs #801] [PATCH] PerlArray in scalar context

2002-09-05 Thread Brent Dax
a compiler guy. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed on our Way Out Here' operator. --Damian Conway

RE: [netlabs #801] [PATCH] PerlArray in scalar context

2002-09-04 Thread Brent Dax
; @c ; @d - $a, $b, $c, $d is rw { # $d = $a + $b + $c; # } What if (say) @b is a two-dimensional array? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed

RE: Parrot: maximizing the audience

2002-09-03 Thread Brent Dax
] --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed on our Way Out Here' operator. --Damian Conway

RE: [COMMIT] Some of you may have noticed...

2002-08-22 Thread Brent Dax
use it. (I figure if it handles those four, it's up to anything. :^) ) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!' --Ferret, in the Monastery

RE: INP (imcc's not parrot) (was: Re: imcc hack for perl6 regexes)

2002-08-21 Thread Brent Dax
saying it's the *only* way. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!' --Ferret, in the Monastery

[PATCH PDD07] Document struct naming conventions

2002-08-20 Thread Brent Dax
be provided; this must be typedefed as a pointer to +the structure. =back --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!' --Ferret, in the Monastery

RE: [PATCH PDD07] Document struct naming conventions

2002-08-20 Thread Brent Dax
Brent Dax: # Since I'm lying in wait to apply the rules in force within most of the # core to Parrot_Interp, I figured I might as well document them. :^) Gah, got wrapped all funny. Here it's attached and sent to bugs-parrot. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding

RE: [DRAFT PPD] External Data Interfaces

2002-08-18 Thread Brent Dax
supplies a malloc # that tracks which (i)thread allocates memory, and frees all # memory on ithread exit. And perl5 comes with its own malloc, # which if often likes to use on *nix. It should probably say or equivalent. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen

[DRAFT PPD] External Data Interfaces

2002-08-17 Thread Brent Dax
The POD below my sig is a proposed PDD on external data interfaces, that is, the way embedders and extenders will access Parrot's data types. It covers Strings, Buffers, and PMCs, as well as a few related functions. Let me know what you think. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: cvs commit: parrot/config/gen/makefiles perl6.in

2002-08-10 Thread Brent Dax
portable to Windows. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: cvs commit: parrot/config/gen/makefiles perl6.in

2002-08-10 Thread Brent Dax
, my bad--the only place where it's a problem is in calls to built-in utilities like 'copy'. Bad complainer, no cookie. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: pmc RECALL command for preprocessor

2002-07-23 Thread Brent Dax
()? RE_CALL()? CHAIN()? AGAIN()? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: RFC - Hashing PMC's albie@alfarrabio.di.uminho.pt

2002-07-22 Thread Brent Dax
themselves. They should return a value that the aggregate hashes. That makes it much easier to change the hashing algorithm later. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: an aside on compiling speed (was Re: PARROT QUESTIONS: Keyed access)

2002-07-22 Thread Brent Dax
. # parrot now takes 4 hours in swap hell to compile the computed # goto ops. You can pass Configure a flag to disable computed goto (--cgoto=0), but that won't help if you still want the functionality. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights

RE: .dev files

2002-07-18 Thread Brent Dax
Tanton Gibbs: # So, my final question is: should .dev files be plain text or POD? My vote is for pod. pod is close enough to plain text that I don't see why it shouldn't be in it. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away

RE: [PATCH] .dev files.

2002-07-17 Thread Brent Dax
/perlhash.pmc? *That's* the sort of thing the .dev files are for, not API documentation. I agree that API docs should be in the source file, but not much more than that. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable

RE: PARROT QUESTIONS: Use the source, Luke

2002-07-14 Thread Brent Dax
really want to know. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: [PATCH] rx.dev

2002-07-14 Thread Brent Dax
on the file--I think you explained bitmaps better than I could have. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: PARROT QUESTIONS: Use the source, Luke

2002-07-14 Thread Brent Dax
John Porter: # Brent Dax wrote: # 2. What does having a Parrot_ prefix signify, considering # both the opcodes and the embed api use it? # # It signifies one of the following: # -This function is externally visible. # -This function belongs to Parrot at large, and not any particular

RE: PARROT QUESTIONS: Use the source, Luke

2002-07-14 Thread Brent Dax
Ashley Winters: # On Monday 15 July 2002 02:25 am, Brent Dax wrote: # -C library wrappers: This is Parrot's version of the # function, so it # makes sense to prefix it with Parrot_. # # The third category I can see having a prefix of plat_ (for # platform) # or some such, and perhaps

RE: PARROT QUESTIONS: Use the source, Luke

2002-07-14 Thread Brent Dax
John Porter: # Brent Dax wrote: # Ashley Winters: # c. parrot_sprintf # # Lowercase is always the hallmark of struct names, i.e. # parrot_string_t. # # Ehhh... you yourself said something about plat_ and misc_ # as (theoretical) alternatives. # # Anyway, it's a silly rule. Upper-case

RE: vtables and multimethod dispatch

2002-07-10 Thread Brent Dax
is shorter, aren't we?) Assuming x and y are integers, yes. Which'll probably be all we ever deal with, so for all intents and purposes you're correct. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time

RE: several changes committed (IO, miniparrot)

2002-06-08 Thread Brent Dax
, or freestanding? Hosted. Freestanding isn't complete enough to do anything with--you don't even have file I/O. Besides, you'll most likely be cross-compiling for WinCE. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Early in the series, Patrick Stewart came up to us

[PATCH PDD 7] Update type-naming conventions

2002-06-07 Thread Brent Dax
Subject says it all. Updates conventions to be consistent with much of the core. Unfortunately, that doesn't include 'struct Parrot_Interp'. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Early in the series, Patrick Stewart came up to us and asked how

RE: [NON-PATCH-DO-NOT-APPLY] PMC Up-To-Spec diffs

2002-06-07 Thread Brent Dax
David M. Lloyd: # NOTE: DO NOT APPLY THIS PATCH TO PARROT unless you like the # smell of platforms burning. :-) Er, what patch? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Early in the series, Patrick Stewart came up to us and asked how warp drive

RE: [NON-PATCH-DO-NOT-APPLY] PMC Up-To-Spec diffs

2002-06-07 Thread Brent Dax
David M. Lloyd: # On Fri, 7 Jun 2002, Brent Dax wrote: # # Er, what patch? # # It was attached because it is 214K. I could resend with it # inline if nobody minds the large message body. I don't think anybody minds an attached patch, but I didn't get the attachment. --Brent Dax [EMAIL

RE: [NON-PATCH-DO-NOT-APPLY] PMC Up-To-Spec diffs

2002-06-07 Thread Brent Dax
David M. Lloyd: # On Fri, 7 Jun 2002, Brent Dax wrote: # # David M. Lloyd: # # On Fri, 7 Jun 2002, Brent Dax wrote: # # # # Er, what patch? # # # # It was attached because it is 214K. I could resend with # it # inline # if nobody minds the large message body. # # I don't think

RE: several changes committed (IO, miniparrot)

2002-06-07 Thread Brent Dax
and munmap in something. I think Windows has similar functionality through a different API, so Parrot_map and Parrot_unmap might be in order. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) Early in the series, Patrick Stewart came up to us and asked how warp

RE: several changes committed (IO, miniparrot)

2002-06-07 Thread Brent Dax
[EMAIL PROTECTED]: # At 21:51 on 06/07/2002 PDT, Brent Dax [EMAIL PROTECTED] wrote: # # # Of these, 2 are not defined by ANSI C89: # # read (in core_ops.o,core_ops_prederef.o) # # write (in core_ops.o,core_ops_prederef.o) # #=20 # # Pretty good! # # Indeed. Those should probably

RE: Configure.pl 2.0. and win32

2002-06-04 Thread Brent Dax
questions by default. You can tell it to ask questions by passing in the --ask switch on the command line. You can also tell it the linker's name directly by passing in --ld=(linker-name). --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks

RE: Perl 6 regex stuff

2002-06-04 Thread Brent Dax
-written, untested bison/flex parser attached. Have the appropriate amount of fun. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value

RE: [netlabs #653] PATCH: P14[I3] support

2002-06-03 Thread Brent Dax
Leon Brocard: # This little patchette lets the new shiny assembler cope with # using an I register as a PMC key, eg P14[I3]. Obviously # brainf*ck needs to be in the testsuite ;-) See my comment on a previous, similar patch by Simon Glover. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: [netlabs #649] [PATCH] Allow numerical constant keys

2002-06-01 Thread Brent Dax
structures, not strings. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification

RE: Parrot_Interp - Parrot_Interp_t

2002-06-01 Thread Brent Dax
. Unfortunately, that means grepping over the core to change it, but that'll have to happen anyway. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support

RE: inline functions (was Re: [netlabs #629] [PATCH] Memory manager/garbage collector -major revision)

2002-05-31 Thread Brent Dax
. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification

RE: [netlabs #629] [PATCH] Memory manager/garbage collector -major revision

2002-05-28 Thread Brent Dax
really need a Parrot_ prefix, do they? */ Str_params_3(a, b, c); Decl_str(d); /* These aren't needed anymore, actually... */ Decl_str(e); Return( string_concat( string_concat(a, b), c ) ); } --Brent Dax [EMAIL PROTECTED

RE: GC design

2002-05-28 Thread Brent Dax
=string_concat(interpreter, string_concat(interpreter, a, b), c) PARROT_CATCH Parrot_fputs(interpreter, Parrot_stderr, We're screwed!); (assuming that C++'s try and catch can take statements instead of blocks, anyway--although even if they don't, it's just four more characters.) --Brent Dax

RE: [COMMIT] Added preprocessor layer to newasm.

2002-05-28 Thread Brent Dax
Jeff: # I haven't been tracking assembly speed at all. Keep in mind # that a perl assembler is only a temporary measure, and it'll # be rewritten in C eventually. It's only written in Perl so C or PASM (or Perl 6)? The latter might be better. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: A big GC D'oh!

2002-05-26 Thread Brent Dax
# along those lines, if we wanted. I could imagine a few pathological cases that would invoke two DOD runs before we get around to anchoring the original header to the root set. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates

[COMMIT] Configure.pl 2.0

2002-05-24 Thread Brent Dax
to my earlier message asking for guinea pigs (thanks to those who did reply), so there are probably cross-platform bugs still lurking in the depths of the new system. Feel free to fix any that you encounter. Share and enjoy, --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen

RE: [COMMIT] Configure.pl 2.0

2002-05-24 Thread Brent Dax
. Argh. I need to rework some dependencies. Easy way out is to make it depend on config/gen/makefiles/root.in instead of config_h.in. (Make the change in config/gen/makefiles/root.in.) I'll do it the right way tomorrow morning, when I'm awake. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: Apology, tinderbox question

2002-05-22 Thread Brent Dax
://tinderbox.perl.org/tinderbox/showbuilds.cgi?tree=parrotquickpars e=1 http://tinderbox.perl.org/tinderbox/bdshowbuild.cgi?tree=parrotquickpar se=1 Dump: http://tinderbox.perl.org/tinderbox/bdshowbuild.cgi?tree=parrotdump=1 --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding

Configure.pl, version 2.0

2002-05-19 Thread Brent Dax
to diagnose the problem. Thanks also to Robert, who pushed me to write this (and then pointed out all the deficiencies in the design :^) ). (And yes, this time Configure *does* have an actual design, described in the ~200 lines of POD at the bottom of Configure.pl.) Share and enjoy. --Brent Dax

RE: New assembler difficulties.

2002-05-19 Thread Brent Dax
was saying them in a public forum. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification

RE: [COMMIT] Embedding overhaul

2002-05-18 Thread Brent Dax
Dan Sugalski: # At 1:14 PM -0700 5/15/02, Brent Dax wrote: # Dan Sugalski: # # At 12:51 AM -0700 5/15/02, Brent Dax wrote: # # -Parrot becomes Parrot_Interp # # -Parrot_String is gone and the string_funcs.h functions are # no # longer # externally visible. -A few structures have been renamed

RE: [COMMIT] Embedding overhaul

2002-05-18 Thread Brent Dax
Dan Sugalski: # At 3:16 PM -0700 5/18/02, Brent Dax wrote: # Dan Sugalski: # # At 1:14 PM -0700 5/15/02, Brent Dax wrote: # # Dan Sugalski: # # # At 12:51 AM -0700 5/15/02, Brent Dax wrote: # # # -Parrot becomes Parrot_Interp # # # -Parrot_String is gone and the string_funcs.h # functions

RE: [COMMIT] Embedding overhaul

2002-05-18 Thread Brent Dax
core, but there should be optional flags to force Parrot to use a specific core. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value

RE: Where to put #ifs

2002-05-16 Thread Brent Dax
. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification

RE: PMC pdd's in

2002-05-16 Thread Brent Dax
boolean values to integers. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification

RE: PMC pdd's in

2002-05-16 Thread Brent Dax
Dan Sugalski: # At 5:28 PM -0700 5/16/02, Brent Dax wrote: # Dan Sugalski: # # Okay, I've checked in the final changes to this edit of # PDD 2, the # # vtable pdd. Tine to rip into it^W^W^Wexamine it closely. :) # # I guess I'm first. # # I think the PARROT_TRUE/PARROT_FALSE thing is a Really

RE: [COMMIT] ops2c.pl

2002-05-15 Thread Brent Dax
is compiles are way faster, # especially for machines with less resources. # # I'm interested in hearing comparisons on compile times on the # smaller ram machines. Win2000, 128 MB. Old time: ~10 minutes New time: ~10 seconds Many, many thanks. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

[COMMIT] Embedding overhaul

2002-05-15 Thread Brent Dax
it in a public place as a warning to other Parrot hackers. [1] 2. Just fix the thing--probably by putting it in config.h. The second is far less destructive, so I recommend it. [1] No offense intended to British hackers, or people from any other culture that had similar practices. --Brent Dax

RE: [COMMIT] Embedding overhaul

2002-05-15 Thread Brent Dax
Dan Sugalski: # At 12:51 AM -0700 5/15/02, Brent Dax wrote: # -Parrot becomes Parrot_Interp # -Parrot_String is gone and the string_funcs.h functions are # no longer # externally visible. -A few structures have been renamed. # -config.h has been rearranged so that INTVAL, etc. are now

RE: Test op/stacks:29 dying.

2002-05-15 Thread Brent Dax
fine on Windows, but even Cygwin breaks. I wrote the code and the test, but I can't debug a problem that only appears on Unix. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user

RE: Test op/stacks:29 dying.

2002-05-15 Thread Brent Dax
# @@ -617,6 +617,7 @@ # print I1 # # print \n # + end # CODE # 43210-1 # OUTPUT Oh. me--. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents

[PATCH] Make regex stacks public

2002-05-14 Thread Brent Dax
and enjoy. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. --The W3C CSS-2 Specification Index: core.ops

RE: [netlabs #572] [PATCH] random cleanups

2002-05-14 Thread Brent Dax
caused the panic. (It will also eventually make Parrot dump core so you can figure out what went wrong.) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming user agents are not required

RE: [netlabs #572] [PATCH] random cleanups

2002-05-14 Thread Brent Dax
Brent Dax: # Steve Fink (via RT): # # Index: classes/default.pmc # # === # # RCS file: /home/perlcvs/parrot/classes/default.pmc,v # # retrieving revision 1.17 # # diff -a -u -r1.17 default.pmc # # --- classes/default.pmc 25 Apr

RE: Regex timing and runtime options

2002-05-14 Thread Brent Dax
will get a bigger boost from faster dispatches. BTW, I just committed three new opcodes: intsave, intrestore, and intdepth. These use the same sort of fast integer stack that rx uses, so reg might get a boost from them. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure

RE: JIT for Win32

2002-05-10 Thread Brent Dax
file is more helpful. However, I think that ops2c.pl can take a command-line switch that turns off the #line directives. # what is your opinion about these changes? if you think # they're worthy, I can submit a patch. Go for it on the first one. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: Regex bytecode bakeoff

2002-05-06 Thread Brent Dax
for Parrot, like JIT or prederef? It would also be interesting (although quite difficult I'm sure) to modify Spencer's package to use Parrot strings. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible

RE: Bytecode storage of floats

2002-05-05 Thread Brent Dax
we want to portably store these (I # propose as a string) so I can finish up this patch. atof()able string. Now finish the patch. ;^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) blink: Text blinks (alternates between visible and invisible). Conforming

RE: [netlabs #45~] Newsletter: Something for Everyone ! 53470

2002-04-26 Thread Brent Dax
eventually. How do we stop spammers from clogging up our bug database? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Mutable vs immutable strings

2002-04-23 Thread Brent Dax
Dan Sugalski: # Okay folks, time to hash this out once and for all. # # Should strings in parrot be mutable or immutable? Right now we've a # mix, and that's untenable. Three questions: 1. Which'll be faster? 2. Which'll be simpler? 3. Which is more important? --Brent Dax [EMAIL PROTECTED

RE: Mutable vs immutable strings

2002-04-23 Thread Brent Dax
Andrew J Bromage: # On Tue, Apr 23, 2002 at 01:18:23PM -0700, Brent Dax wrote: # # Three questions: # # 1. Which'll be faster? # # It depends on the application, but my money is on mutable # strings built on top of an immutable buffer. That's based on # looking at my own string-based

RE: Subroutines...

2002-04-22 Thread Brent Dax
calls more expensive than I'd # like 'em to be. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Roadmap for Parrot

2002-04-17 Thread Brent Dax
think of the current engine and what they'd like to see in a new one. That way I can start preparing for the Great Rewrite (or something like that). --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just

RE: parrot-0.0.5 doesn't like me. Which isn't fair, really, because I rather like it.

2002-04-16 Thread Brent Dax
have time to check it more, and as I appeared to be # the only one to have this problem, I figured it was me just # being broken. I dunno. Can you send the output of `make test' and attach the file $parrot_directory/lib/Parrot/Config.pm? Thanks. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot

RE: internal structure

2002-04-11 Thread Brent Dax
*supposed* to come with a .dev file. It doesn't yet. :^) Honestly, the JIT is Really Deep Magic and basically a special case in the code. I usually pretend it doesn't exist, because I don't know assembly and it's confusing. JIT people--anyone want to answer this guy's question? --Brent Dax

[preliminary PATCH] Parrot C Compiler Wrapper

2002-03-30 Thread Brent Dax
incantations. The --args argument is used to pass additional flags to the tool. Patch is attached. Share and enjoy. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include Index: MANIFEST

RE: [preliminary PATCH] Parrot C Compiler Wrapper

2002-03-30 Thread Brent Dax
Nicholas Clark: # On Sat, Mar 30, 2002 at 02:12:46AM -0800, Brent Dax wrote: # # If you have a Unix box and ten spare minutes, please apply this to a # fresh checkout of Parrot, run 'make test', and tell me how well it # works. # # FreeBSD did not enjoy it: # # 0 Patch did not apply cleanly

RE: Misc portability cleanups

2002-03-30 Thread Brent Dax
we use assert() is probably a candidate for using # the Parrot exception routine anway. Or better, the incredibly under-utilized panic routine. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before

RE: Complete, Mainly-GC Patch

2002-03-29 Thread Brent Dax
, *not* pointers to completely different data. That's why it's referred to as a cache. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: [Patch] Add support for tests in C

2002-03-28 Thread Brent Dax
[EMAIL PROTECTED]: # This should enable writing tests which call parrot C # functions directly, # which could be useful for increasing coverage to things which # aren't easy to # call via opcodes. And it will shatter Windows. Don't even think about committing it. --Brent Dax [EMAIL PROTECTED

RE: [Patch] Add support for tests in C

2002-03-28 Thread Brent Dax
' myself, so I can't really give you much usage information. Sorry. My best guess is that the right command would be lib -out:libparrot$(A) $(O_FILES) assuming $(A) were appropriately defined. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define

RE: [PATCH] get_string on undef

2002-03-28 Thread Brent Dax
actually do anything with the string. # BOOLVAL get_bool () { --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Computed-goto Patch

2002-03-26 Thread Brent Dax
to keep track of this stuff. Don't forget about it: bugs6.perl.org. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Unicode thoughts...

2002-03-25 Thread Brent Dax
that. Also note that I went to bed at one, was rudely awakened by a screaming toddler at two, didn't fall asleep again till four, and woke up at nine, so I'm probably not very coherent. I feel a little dizzy--I'm gonna take a nap. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding

RE: Lurking on the right list

2002-03-23 Thread Brent Dax
). And it wouldn't be difficult to compile JavaScript into Parrot bytecode--at least once Parrot is finished. :^) # Again sorry to intrude with this OT post. Don't sweat it. We're always glad to help even the lurkers understand. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding

RE: typedefs

2002-03-22 Thread Brent Dax
for external names, FOO for internal names, struct parrot_foo_t for struct names. Now let's argue about if Parrot_Foo is typedefed as a pointer or not. ;^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before

RE: typedefs

2002-03-22 Thread Brent Dax
Bryan C. Warnock: # On Friday 22 March 2002 10:07, Brent Dax wrote: # Bryan C. Warnock: # # We're still all over the place with typedef name formats. # # We've FOO, Foo, # # and foo_t. We tried to hash this out before, but we didn't # # come to a clear # # consensus. (We got sidetracked

RE: typedefs

2002-03-22 Thread Brent Dax
Bryan C. Warnock: # On Friday 22 March 2002 10:36, Brent Dax wrote: # # # Parrot_Foo for external names, FOO for internal names, struct # # parrot_foo_t for struct names. Now let's argue about if # # Parrot_Foo is # # typedefed as a pointer or not. ;^) # # # # Oy vay!, none of which

RE: typedefs

2002-03-22 Thread Brent Dax
Russ Allbery: # Brent Dax [EMAIL PROTECTED] writes: # Parrot_Foo for external names, FOO for internal names, struct # parrot_foo_t for struct names. # # POSIX reserves all types ending in _t. I'm not sure that extends to # struct tags, but it may still be better to use _s or something else

RE: typedefs

2002-03-22 Thread Brent Dax
Dan Sugalski: # At 3:53 PM -0800 3/22/02, Brent Dax wrote: # Bryan C. Warnock: # # Besides, what's the probability it'll be a problem if we # prefix all # # struct names with 'parrot_'? # # # # You don't really want to do that, do you? # # Yes, in fact, I do. In the general case, you

RE: Some updates

2002-03-21 Thread Brent Dax
in X, respectively. # # We don't yet have: # # set Sx, iy # set Sx, ny # # to to integer or number to string conversions yet. Anyone # fancy a shot at it? This should be pretty easy--Parrot_sprintf_c should handle it nicely. Unfortunately, I'm too busy to do it myself. :^( --Brent Dax

RE: set Sx, iy

2002-03-21 Thread Brent Dax
, NULL); # +} # + # + Just do $1=Parrot_sprintf_c(interpreter, %Vd, $2);. I've already implemented this logic there; there's no sense having it in the core twice. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C

RE: OpenVMS can't get past configure

2002-03-17 Thread Brent Dax
to. You can probably just say: foreach(keys %Config) { next unless /^i_/; $c{$_}=$Config{$_}; $c{headers}.=defineifdef((/^i_(.*)$/)); } --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just

RE: 64 bit Debian Linux/PowerPC OK but very noisy

2002-03-17 Thread Brent Dax
sure you #define PARROT_IN_CORE--or you can just test Parrot_Int, which should be the same thing and is publicly defined. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: OpenVMS can't get past configure

2002-03-17 Thread Brent Dax
Dan Sugalski: # At 10:13 AM -0800 3/17/02, Brent Dax wrote: # # Probing Perl 5's configuration to determine which headers you # # have (this could # # take a while on slow machines)... # # Out of memory! # # %SYSTEM-F-ABORT, abort # # Lines in question: # # # foreach(grep {/^i_/} keys %Config

RE: [PATCH Configure.pl] (still broken) Re: OpenVMS can't get past configure

2002-03-17 Thread Brent Dax
Michael G Schwern: # On Sun, Mar 17, 2002 at 10:13:58AM -0800, Brent Dax wrote: # Lines in question: # # # foreach(grep {/^i_/} keys %Config) { # $c{$_}=$Config{$_}; # $c{headers}.=defineifdef((/^i_(.*)$/)); # } # # I think VMS is too lame to handle the grep line. Honestly

RE: 64 bit Debian Linux/PowerPC OK but very noisy

2002-03-17 Thread Brent Dax
' (without quotes) and hit enter. You won't get 64-bit support, but you will get a building Parrot, which is usually a good thing. ;^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

<    1   2   3   4   5   6   >