RE: Solaris8 32bit GCC3.0.3 on 64bit Ultra10 OK but...

2002-03-17 Thread Brent Dax
coming from it. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

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

2002-03-17 Thread Brent Dax
Michael G Schwern: # On Sun, Mar 17, 2002 at 09:21:12PM -0800, Brent Dax wrote: # # Remember, I am not a C programmer. I just took my perl # 5.6.1 that's # # compiled with 64 bit ints and ran Configure.pl with it. # # Okay. When Configure asks: # # How big would you like integers

RE: Failing tests

2002-03-16 Thread Brent Dax
. # Can whoever # it was please put that feature back? If you define $ENV{POSTMORTEM} it'll leave the files in place. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: cvs commit: parrot/lib/Parrot Assembler.pm

2002-03-10 Thread Brent Dax
# to a label, however we might eventually want to collect these # to validate bsr calls. Did Dan, Simon, or someone else ever approve these changes? This isn't exactly just a little maintenence patch... --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define

RE: cvs commit: parrot/lib/Parrot Assembler.pm

2002-03-10 Thread Brent Dax
Melvin Smith: # At 02:02 PM 3/10/2002 -0800, Brent Dax wrote: # [EMAIL PROTECTED]: # # cvsuser 02/03/10 13:15:50 # # # # Modified:lib/Parrot Assembler.pm # # Log: # # Minor patch to the assembler for the new_p_ic_ic opcode to # # work same as new_p_ic (looks up a named class

RE: new_tracked_header()

2002-03-10 Thread Brent Dax
to treat STRINGs as Buffers, even in allocation. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

[PATCH] Cut 25K off the core

2002-03-09 Thread Brent Dax
don't want to implement something that complicated. :^) --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Multimethod dispatch for parrot?

2002-03-07 Thread Brent Dax
in the vtables. Perhaps in the subroutine call sequences, but not in the vtables themselves. It might even be within the arena of the languages themselves, if different languages have different rules for deciding which multimethod to use. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding

RE: [PATCH] Two minor warnings

2002-03-06 Thread Brent Dax
; # + # +BOOLVAL success; # } rxinfo; What's the warning here? Code looks fine to me, and the organization is more logical if it's up top. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before

[PATCH README] Make README more informative

2002-03-05 Thread Brent Dax
Below my sig. Adds more specific descriptions of what Configure does and some information on compiler warnings. --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include --- README 29

[PDDs] Embedding and external interfaces

2002-03-05 Thread Brent Dax
The attached PDDs cover embedding and interfaces shared between embedding and extending (external interfaces). The embedding PDD mostly covers stuff already in the core; the external interface PDD is my proposed solution. Read and review, please. --Brent Dax [EMAIL PROTECTED] @roles=map

RE: Extensions

2002-03-04 Thread Brent Dax
Tim Bunce: # On Fri, Mar 01, 2002 at 05:17:28AM -0800, Brent Dax wrote: # After banging my head against a wall for a few hours with # Perl 5's XS, I # have an idea for how Parrot can do it better. # # I'm not sure about Parrot, but for Perl 6 Larry has specifically # said that he intends

parrot.c

2002-03-04 Thread Brent Dax
Why is there an empty parrot.c in CVS, and can it disappear? --Brent Dax [EMAIL PROTECTED] @roles=map {Parrot $_} qw(embedding regexen Configure) #define private public --Spotted in a C++ program just before a #include

RE: Extensions

2002-03-02 Thread Brent Dax
Nicholas Clark: # On Fri, Mar 01, 2002 at 05:17:28AM -0800, Brent Dax wrote: # After banging my head against a wall for a few hours with # Perl 5's XS, I # have an idea for how Parrot can do it better. # # Basically, the big problems with XS are: # -It's ugly as hell # -It makes

RE: GC performance

2002-02-28 Thread Brent Dax
renovated version of a language you used to know, I'm afraid. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex hacker, embedding coder, and boy genius #define private public --Spotted in a C++ program just before a #include

RE: #defined types

2002-02-26 Thread Brent Dax
Dan Sugalski: # At 10:26 AM -0800 2/26/02, Brent Dax wrote: # That'll just give us an explosion of wrapper types. # # Not wrapper types, no. But 'different' types, yes. # # Extenders will probably see things like: # # typedef void PMC; # # or # # typedef char PMC; # # rather than

RE: #defined types

2002-02-26 Thread Brent Dax
Dan Sugalski: # At 10:31 AM -0800 2/26/02, Brent Dax wrote: # Different scopes, different policies. Outside the core (and # in places # with external visibility) we use the Parrot_Foo-type # pointer-to stuff; # inside we use FOO. *This is the same policy we have now*, except for # the outside

RE: Has anyone tracked down our wild pointer mashing?

2002-02-26 Thread Brent Dax
? Just that, though I haven't seen this recently, off-by-one errors seem to be relatively common in key.c. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex hacker, embedding coder, and boy genius #define private public --Spotted in a C++ program just before a #include

RE: Regular expression compiler

2002-02-24 Thread Brent Dax
(e.g. Microsoft's (?nameregex) syntax), certain switches for things like accent-insensitive matches, etc.) If it's in C, put it into an rxcomp.c/rxcomp.h and make rx_compile call it. If it's not, well, I'm not sure what to do about that. Port it to Parrot bytecode, perhaps? :^) --Brent Dax [EMAIL

RE: #defined types

2002-02-23 Thread Brent Dax
; bar(x); return x-i; } VC++ doesn't like stunts like that. That's why I changed it to #define the types instead. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex hacker, embedding coder, and boy genius #define private public --Spotted in a C++ program

RE: #defined types

2002-02-23 Thread Brent Dax
Bryan C. Warnock: # On Saturday 23 February 2002 23:10, Brent Dax wrote: # struct foo_t { # int i; # }; # # typedef struct foo_t * FooPtr; # typedef struct foo_t FOO; # # void bar(FooPtr); # # void bar(FOO *x) { # x-i

RE: [COMMIT] Embedding enhancements

2002-02-18 Thread Brent Dax
Dan Sugalski: # At 10:54 AM -0800 2/18/02, Brent Dax wrote: # Dan Sugalski: # # Details of strings, PMCs, and vtables shouldn't be exposed # to people # # writing extensions. Strings and PMCs should be opaque types, and # # vtables shouldn't be exposed at all, to hide the details

RE: [PATCH] Parrot_Interp

2002-02-17 Thread Brent Dax
Simon Cozens: # Brent Dax: # I was afraid you were gonna say that. :^) I'll put it # back in my next # embedding patch. # # And document this exchange in the Embedding PDD? :) I probably will--after I write the regex PDD. :^) --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex

[PDD] Regular Expressions

2002-02-17 Thread Brent Dax
This is the first draft of my proposed regex PDD. Review and advise. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex hacker, embedding coder, and all-around good guy Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) obra . hawt sysadmin

RE: [Parrot-Newbie] Fooling around with parrot

2002-02-17 Thread Brent Dax
the # resulting c file - all kinds of missing references, and no lib in # sight. Did you follow the directions in the README file? That assemble.pl warning especially makes me very suspicious. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking, regex hacker, embedding coder, and all-around

RE: [Patch] Some de-linting

2002-02-16 Thread Brent Dax
: illegal character '^' in macro --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than

RE: Parrot directory structure

2002-02-07 Thread Brent Dax
? Or in a directory called build? # # tmp/ # # this should be an intially empty directory; build scripts that ned # to create transient files should try to put them here where possible # # # pdd/ # # all the PDDs really should come under control of CVS. Why don't we put the PDDs with the other docs? --Brent Dax

RE: [REPATCH]Re: [PATCH] Nearly the last of the warnings.

2002-02-06 Thread Brent Dax
their usefulness and might as well be turned off. I have serious qualms about the usefulness of cast-qual warnings, because they bitch about stuff like this. The code will be clearer and more compact without the cast. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check

RE: [Patch] A few fixes.

2002-02-06 Thread Brent Dax
. It's just some Perl 5 code I tried to adapt to Parrot but gave up on. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt

test_parrot -w (fixed)

2002-02-05 Thread Brent Dax
Argh, I accidentally sent TWO patch.txt's. The one attached to THIS message is the right one. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) obra . hawt sysadmin chx0rs lathos

RE: [PATCH test_main.c config_h.in] Warning in test_main.c

2002-02-01 Thread Brent Dax
Jonathan Stowe: # On Fri, 1 Feb 2002, Brent Dax wrote: # Jonathan Stowe: # # This shuts up the implicit declaration warning in test_main.c : # # # # --- config_h.in~ Fri Feb 1 07:39:42 2002 # # +++ config_h.in Fri Feb 1 07:40:06 2002 # # @@ -51,9 +51,10 @@ # # #define INTVAL_FMT

[PATCH] ARGV in P0

2002-01-31 Thread Brent Dax
print start\n LOOP: ge I1, I0, OUT set S0, P0, I1 print print I1 print : print S0 print \n inc I1 branch LOOP OUT: print done\n end --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking

RE: parrot rx engine

2002-01-31 Thread Brent Dax
Peter Haworth: # On Wed, 30 Jan 2002 17:45:58 +, Graham Barr wrote: # On Wed, Jan 30, 2002 at 09:32:49AM -0800, Brent Dax wrote: # # rx_setprops P0, i, 2 # # branch $start0 # # $advance: # # rx_advance P0, $fail

RE: parrot rx engine

2002-01-31 Thread Brent Dax
. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than a few. lathos obra: There are two

RE: parrot rx engine

2002-01-30 Thread Brent Dax
: rx_is_w and rx_is_s used to consist of several range tests. Switching them to bitmaps doubled their speed. I understand your argument and see how it would be a good thing, but everything I've experimented with has led me to believe that your way won't give us the speed we need. --Brent Dax

RE: [ID 20020130.001] Unicode broken for 0x10FFFF

2002-01-30 Thread Brent Dax
, things get fairly easy once the vtable-match stuff I mentioned above is in place. Obviously we would optimize for string matching. Also, we WILL lose some performance, even over the current slowdown compared to Perl 5. Nevertheless, it can be done. --Brent Dax [EMAIL PROTECTED] Parrot Configure

[PATCH] Embedded Parrot, anyone?

2002-01-29 Thread Brent Dax
a usable patch program, so I'll probably have to resync from the original and lose all my changes, plus my work-in-progress on jsr and friends. Ugh. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's

RE: [PATCH] Embedded Parrot, anyone?

2002-01-29 Thread Brent Dax
Brent Dax: # Patch attached implements an embedding interface for Parrot and # re-writes test_main.c to use it. It also rewrites the switch handling # stuff into something that looks decent and adds -h (help) and -v # (version) switches. Hold on, it seems to be blowing up. I'll see what I can

RE: [PATCH] Embedded Parrot, anyone?

2002-01-29 Thread Brent Dax
Brent Dax: # Brent Dax: # # Patch attached implements an embedding interface for Parrot and # # re-writes test_main.c to use it. It also rewrites the # switch handling # # stuff into something that looks decent and adds -h (help) and -v # # (version) switches. # # Hold on, it seems to be blowing

RE: Config police

2002-01-25 Thread Brent Dax
in Config.pm? If so, then Parrot should have HAS_HEADER_ERRNO defined as well. (If your Config.pm makes no mention of i_errno, then you shouldn't expect to see HAS_HEADER_ERRNO.) --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com

RE: How Powerful Is Parrot?

2002-01-24 Thread Brent Dax
, but it will. #Can I invoke routines written in other languages, such as # C or C++, from #Parrot? Yes--you'll just have to write opcodes to wrap them. # Thanks in advance for your help. You're quite welcome. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra

RE: [PATCH] Parrot::Optimizer bugs

2002-01-21 Thread Brent Dax
of the integer and float comparisons, so that any floats # get matched before we get to the above; if anyone else can think of a # better way, or some reason why this won't work, I'd be glad # to hear it. If the problem is backtracking, can't you just use the (?) no-backtracking syntax? --Brent

RE: Benchmarking regexes

2002-01-21 Thread Brent Dax
Steve Fink: # On Mon, Jan 14, 2002 at 01:49:44AM -0800, Brent Dax wrote: # I wrote a _very_ simple benchmark program to compare Perl 5 # and Parrot. # Here's the result of a test run on my machine: # # C:\brent\Visual Studio Projects\Perl 6\parrot\parrot..\benchmark # Benchmarking bbcdefg

RE: on parrot strings

2002-01-18 Thread Brent Dax
in a regex, it'll be transcoded. I honestly can't think of a better way to guarantee efficient string indexing. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than a few

[PATCH] Regular expression stacks

2002-01-16 Thread Brent Dax
improvements on BSD. They also take up less memory. All tests pass on both platforms; one warning is removed (as a side effect of the modified interface for regex stacks) and no new ones are introduced. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra . hawt sysadmin

RE: [PATCH] Regular expression stacks

2002-01-16 Thread Brent Dax
Steve Fink: # On Wed, Jan 16, 2002 at 01:30:42AM -0800, Brent Dax wrote: # The attached patch adds a new stack type that only handles INTVALs. # These are much more efficient than generic stacks--on Win32 # they shave a # few ten-thousandths of a second off each run of the # rx_popindex op

RE: Build on Win32 using MSVC (This time with attachment)

2002-01-15 Thread Brent Dax
was released. I suggest you get the latest snapshot from http://cvs.perl.org/snapshots/parrot/parrot-latest.tar.gz, or even get the CVS program and use it to sync up with cvs.perl.org. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra . hawt sysadmin chx0rs lathos

RE: gcc warnings: rx-startindex

2002-01-15 Thread Brent Dax
clear the stack CONTINUE } The --startindex 0 is a convenient way to test if it's past the beginning. startindex-- == 0 would probably work just as well. Either way, I've changed startindex to an INTVAL, since more of the contexts it's used in expect INTVALs than not. --Brent

[PATCH] Use bitmaps in regexes

2002-01-14 Thread Brent Dax
. -rx_oneof_bmp: uses a prebuilt bitmap. This also recognizes that test 14 of rx.t no longer fails under Win32--it revokes its TODO status. This patch is NOT bytecode-compatible with the last version of regexes. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra

RE: Another regex question

2002-01-13 Thread Brent Dax
Simon Cozens: # On Sat, Jan 12, 2002 at 12:37:50PM -0800, Brent Dax wrote: # You sure about that? I've got an rx_compile op slotted # in--would that # be appropriate? # # Only if every single language hosted by Parrot compiles regexes in the # same way. It's meant to be a simple fallback

[PATCH] Make profiling more useful

2002-01-13 Thread Brent Dax
0.01 332 dec_i 10 0.231001 0.02 - -- -- 4 22 0.370998 0.02 That's mostly a testimonial to how fast Parrot is. :^) --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking

RE: Another regex question

2002-01-13 Thread Brent Dax
Steve Simmons: # On Sun, Jan 13, 2002 at 12:55:26AM -0800, Brent Dax wrote: # # It's meant to be a simple fallback for languages that are # too pathetic # to implement their own regex compiler. (FooLang should # have regular # expressions, but I'm too lazy! I'll just use rx_compile

RE: Question about match vtable method and regexes

2002-01-12 Thread Brent Dax
# match on each element inside itself. How would this interact with the regular expression engine? --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than a few. lathos obra: There are two

RE: Another regex question

2002-01-12 Thread Brent Dax
. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than a few. lathos obra: There are two? Are you sure it's not the same one?

[PATCH] Remove evilness in regex engine

2002-01-10 Thread Brent Dax
Patch below removes some evil mucking around in string internals that was in the regular expression engine. All (expected) tests pass on Windows native and Cygwin. (PerlArrays and PerlHashes are still causing segfaults on Windows native.) --Brent Dax [EMAIL PROTECTED] Configure pumpking

The dreaded regex patch

2002-01-09 Thread Brent Dax
the regex to increment the current index when moving rx_backwards - tell the regex to decrement the current index when moving Share and enjoy. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r

RE: The dreaded regex patch

2002-01-09 Thread Brent Dax
Steve Fink: # On Wed, Jan 09, 2002 at 03:16:40AM -0800, Brent Dax wrote: # Okay, here it is. Attached is the regular expression patch. It # # Is rx_advance necessary? What's the difference between # # /R/ # # and # # /^(.*?R)/ # # if you count the parens $ $1 $2 ... instead of $1 $2 $3

RE: Some random design notes

2002-01-08 Thread Brent Dax
# start back up) # A default entry point # A stack top pointer to restore (for continuations) # A register frame pointer to restore (for continuations) # Parameter descriptor # JIT/native code pointer # Flags # Bytecode block info pointer No comment. --Brent Dax [EMAIL PROTECTED] Configure

[PATCH] ParrotPointer.pmc

2002-01-08 Thread Brent Dax
for regular expressions, which will be submitted as soon as allocating PerlArrays and then allocating something else stops segfaulting on native Windows builds. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin

RE: [PATCH] ParrotPointer.pmc

2002-01-08 Thread Brent Dax
Ack, forgot these. (Below my sig.) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 obra . hawt sysadmin chx0rs lathos This is sad. I know of *a* hawt sysamin chx0r. obra I know more than a few. lathos obra: There are two? Are you sure it's not the same one? --- ..\..\parrot

Testing list for stuckage - feel free to delete

2002-01-07 Thread Brent Dax
Ping.

[PATCH ops2c.pl Parrot::OpsFile] Allow includes from multiple files, etc.

2002-01-06 Thread Brent Dax
ops2c.pl and friends. If that becomes a problem, it's a very simple edit to temporarily remove the line numbering changes. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776 --- ..\..\parrot-cvs\parrot

RE: Where's include/parrot/rx.h?

2002-01-06 Thread Brent Dax
. *looks it up on cvsweb* Yup, it did. There were probably no other changes in that block of the patch. *slaps his forehead* It'll be a few days before the regex stuff is ready; I just got it to compile last night. :^) Just delete it from the Makefile for now or ship an empty rx.h. --Brent Dax

[PATCH ops2c.pl Parrot::OpsFile Makefile.in] Fix stuff

2002-01-06 Thread Brent Dax
Patch below my sig: -changes Parrot::OpLib::core's dependencies to reflect the new selectable ops files -allows some of the special forms of 'goto' inside the PREAMBLE of an opcode file --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today

RE: How to use extra opcodes

2002-01-06 Thread Brent Dax
for obscure.ops. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

Including from an .ops file

2002-01-05 Thread Brent Dax
); } VERSION = PARROT_VERSION; Is this a problem? --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

[PATCH] Select opcode files to use in Configure

2002-01-05 Thread Brent Dax
so that my syntax-highlighting editor recognizes some heredocs correctly. :^) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776 --- ..\..\parrot-cvs\parrot\Configure.plSat Jan 5 03:58

RE: [PATCH] It's a trick, sir...

2002-01-04 Thread Brent Dax
Michael G Schwern: # On Mon, Dec 31, 2001 at 10:57:54PM -0500, Bryan C. Warnock wrote: # ...there's *two* of them! # # My very first ever attempt at obfuscated code circa 1997. ROFL. Schwern, only you are weird enough to have written that... ;^) --Brent Dax [EMAIL PROTECTED] Configure

RE: [COMMIT] PerlHash class added.

2002-01-04 Thread Brent Dax
, foo, P1 And no, you can't just figure it out by the position of the string parameter: set P1, P0, foo #ok set P0, foo, P1 #ok set P0, P1, P2 #huh? --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened

[PATCH stacks.[hc] interpreter.c] new_stack()

2002-01-03 Thread Brent Dax
The patch below my sig adds a new_stack() function to take care of the allocation and setup of generic stacks. It's called like: new_stack(interpreter, base, top); This in preparation for my third regex patch, which I should have ready in a few days. --Brent Dax [EMAIL PROTECTED

RE: [PATCH] New Handle PMC

2002-01-03 Thread Brent Dax
Dan Sugalski: # At 03:37 PM 1/3/2002 -0800, Brent Dax wrote: # While cool, I'm interested in why? For regexes you can stash # a pointer to # the string buffer into an S register if you want to bypass # even one level # of indirection. Handles would probably be used for other things besides regex

RE: Note on PMC.pod...

2002-01-02 Thread Brent Dax
)? If you're using buckets or chains, I don't think collisions are a problem. (For that matter, has anyone ever tried arrays of binary search trees? I wonder how well that would work...) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III

RE: .ops metadata [was: Re: JIT me some speed!]

2001-12-24 Thread Brent Dax
: # # inline op set(i, const i|ic) { # $1 = $2; # } # # Or, do we really need to have the three-way in/out/inout tagset? # # inline op set(out i, in i|ic) { # $1 = $2; # } Or we could go with the Perl 6-ism: inline op set(i is rw, i|ic) { $1=$2; } --Brent

JIT stuff stomps on Windows compilation

2001-12-20 Thread Brent Dax
.) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: JIT stuff stomps on Windows compilation

2001-12-20 Thread Brent Dax
Gregor N. Purdy: # Give it another try. I just messed with jit2h.pl to make it not # generate empty brace pairs. Builds beautifully now. Thanks. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul

Parrot_sprintf

2001-12-20 Thread Brent Dax
actually change anything to use Parrot_sprintf; it just defines the function and the Configure machinery needed to support it. It's currently in string.[hc]; I'm not sure if this is the right place. I won't be surprised if this isn't high-quality enough to actually be applied. --Brent Dax [EMAIL

RE: How to add new ops?

2001-12-18 Thread Brent Dax
languages can utilize it without jumping through too many hoops. Besides, the 'Perl-specific issues' are: a) very far off (we don't even have most of the language spec yet), and b) good examples of how to make Parrot work with an actual HLL. --Brent Dax [EMAIL PROTECTED] Configure pumpking

Am I just an idiot...

2001-12-14 Thread Brent Dax
PerlString, because otherwise there'd be no way to cast between types. Of course, this wouldn't be an issue (at least for the thing I'm working on) if there was a way to force string comparisons instead of numeric ones (hint, hint). --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing

RE: Am I just an idiot...

2001-12-14 Thread Brent Dax
Simon Cozens: # On Fri, Dec 14, 2001 at 12:06:51AM -0800, Brent Dax wrote: # or is there no 'set(p, p)' function? If there isn't, why not? # # There isn't. Nobody's written it. :) # # Also, a question if/once it exists. I assume it'll make a copy. # # Yep. Although I'm not quite sure off

RE: Am I just an idiot...

2001-12-14 Thread Brent Dax
Dan Sugalski: # At 11:10 AM 12/14/2001 +, Simon Cozens wrote: # On Fri, Dec 14, 2001 at 12:06:51AM -0800, Brent Dax wrote: # Also, a question if/once it exists. I assume it'll make a copy. # # Yep. Although I'm not quite sure off-hand how to write it. # # Well, that depends. It could

RE: Mr. Configure

2001-12-13 Thread Brent Dax
Bryan C. Warnock: # Can we start a config/ directory for config snippets? Fine by me. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Allocators

2001-12-12 Thread Brent Dax
that and document which data structures are aligned and which aren't, we shouldn't have a problem. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Nmake is stupid.

2001-12-12 Thread Brent Dax
: perl_codeblock parameters: parameter(s? / /) parameter: paramname '(' filelist ')' { qq{'$item{paramname}' = $item{filelist} } } #etcetera --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important

RE: Configger this.

2001-12-07 Thread Brent Dax
on it--this Configure won't be like the final Configure.) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Key stuff for aggregates

2001-12-05 Thread Brent Dax
keys. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: basic parrot questions

2001-12-03 Thread Brent Dax
that won't fit in the first five registers or for saving data for later--we're still register-based because most of our operations are on registers. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: What is wrong with GCC's register transfer language?

2001-12-03 Thread Brent Dax
is subname := sub {body}) or tied variables in GCC? I haven't used this GCC thing, so there are probably other reasons too. Bottom line is, we've looked around and haven't found anything that meets our needs, so we're building it ourselves and making it available to other scripting languages. --Brent

RE: Thoughts on vtables...

2001-12-02 Thread Brent Dax
? Why don't we keep both an array and a hash (once they're available) of types? --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Cranky compilers

2001-12-02 Thread Brent Dax
: Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] Any other suggestions? # Jarkko's got some truly fascist switches for gcc. Once we're # -Wall clean, # those will go in too... --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today

RE: copy-on-write

2001-12-01 Thread Brent Dax
? Maybe STRINGs should have a separate field for the start of the actual string. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Thoughts on vtables...

2001-12-01 Thread Brent Dax
could have it both ways--have both AUTO_OP new(p, ic) and AUTO_OP new(p, sc). FWIW, though, I don't think the class numbers are actually being used right now--all the tests in pmc.t use 'new Px, 0', no matter what type they'll end up being. --Brent Dax [EMAIL PROTECTED] Configure pumpking

RE: [PATCH] Don't count on snprintf

2001-11-30 Thread Brent Dax
. The leading underscore is beyond me. *shrugs* --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: os2 hints

2001-11-29 Thread Brent Dax
? Remember, other people may want different build configurations then you. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

RE: Benchmarking the proposed RE engine

2001-11-26 Thread Brent Dax
bitmaps on strings) but it's certainly feasable. (And that particular example can be sped up by caching in a hash once hashes are available.) --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's diary entry for 4-Jul-1776

[COMMIT] Allow _ in op names

2001-11-25 Thread Brent Dax
In preparation of more realistic regex opcodes (which will all be prefixed with rx_), I've committed some changes to allow underscores in op names. As it turned out, the only changes needed were to ops2c.pl and friends; the assembler was already ready already. --Brent Dax [EMAIL PROTECTED

RE: Re: [Proposal] Regex documentation

2001-11-25 Thread Brent Dax
, and all the indirections through 'frame' probably didn't help much. I can provide source for everything on request, including a new core.ops and some supporting files, the test assembly file, and the benchmark runner script. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important

RE: Re: [Proposal] Regex documentation

2001-11-25 Thread Brent Dax
Dan Sugalski: # Sent: Sunday, November 25, 2001 11:48 # To: Brent Dax # Cc: Angel Faus; [EMAIL PROTECTED] # Subject: RE: Re: [Proposal] Regex documentation # # # On Sun, 25 Nov 2001, Brent Dax wrote: # # Unfortunately, because Parrot currently has no GC system # and thus leaks # all over

RE: Benchmarking the proposed RE engine

2001-11-25 Thread Brent Dax
for Perl 5's REs (and we do all our benchmarking with that), we will probably never come close to their performance until we have a regex compiler close to their quality. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 Nothing important happened today. --George III of England's

RE: Benchmarking the proposed RE engine

2001-11-25 Thread Brent Dax
Bryan C. Warnock: # On Sunday 25 November 2001 10:34 pm, Brent Dax wrote: # Perl 5's REs will always appear faster because Perl 5 has an # intelligent, optimizing regex compiler. For example, take # the following # simple regex: # # /a+bc+/ # # pregcomp will optimize that by searching

RE: Benchmarking the proposed RE engine

2001-11-25 Thread Brent Dax
Bryan C. Warnock: # On Sunday 25 November 2001 11:09 pm, Brent Dax wrote: # Not exactly. my belief in how this works cut # It finds the 'a', then the 'abc', then tries the match. My mistake. # Still, that's a hell of a lot more intelligent than just 'proceeding # dumbly left-to-right

<    1   2   3   4   5   6   >