Michael Fischer:
# On Nov 04, Brent Dax <[EMAIL PROTECTED]> took up a keyboard
# and banged out
# > Michael Fischer:
# > # In the goto case, we spin. And perhaps I am broken there. End
# > # really wants to return, not just set the pc, but I hadn't thought
# > # of a cleve
s). Since not all PMCs or
# strings even refer to
# things in the GC-heap, this is an effective compromise. Just
# as a point of
# comparison. True we still have the potential for leaks, but that is
# avoidable even in perl5.6.
#
# In Summary, the lingering issues are:
# a) PMC memory managemen
t N3 to an I register with the
C op and then print the integer.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, I'm not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
Dan Sugalski:
# At 01:39 PM 11/9/2001 -0800, Brent Dax wrote:
# >Dan Sugalski:
# ># At 12:39 AM 11/9/2001 -0500, Ken Fox wrote:
# ># >3. We've adopted a register machine architecture to
# ># >reduce push/pop stack traffic. Register save/load
# ># >traffic is s
er choice since everybody
# has to deal with that format anyway.
#
# Ideally we should have something with the quality of
# PerlGuts Illustrated and the simplicity of ASCII.
I'd suggest PDF or PostScript for most, and a GIF or something for those
who can't read the main format.
--Br
adapted the little compiler to output code for your
# ops proposal
# including the modification I suggest. This way we can see how
# the assembler
# would be for complex regular expressions. I am attaching it with this
# e-mail.
#
# Now it supports:
#
# * literals
# * nested groups (do not capture)
#
Daniel Grunblatt:
# On Mon, 5 Nov 2001, Brent Dax wrote:
#
# > Michael Fischer:
# > # On Nov 04, Brent Dax <[EMAIL PROTECTED]> took up a keyboard
# > # and banged out
# > # > Michael Fischer:
# > # > # In the goto case, we spin. And perhaps I am broken there. End
# >
oto *lookup[*pc];
That'll still be faster than switch()ing or function-pointer; it just
won't be as fast as untracing, which I think users can accept and
understand.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, I'm not going to fire a $2 million missi
Daniel Grunblatt:
# I have tested times using computed goto in the interpreter
# and here are
# the results:
#
# # ./test_prog mops.pbc
## M op/s:34.864582
#
# # java -Xint mops
# M op/s:30.950170356876555
Holy $#!+...
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
ants
One thing that seems to be missing is string and numeric variants on the
comparison ops. While this isn't a problem now, it may be once we get
PMCs.
I can probably write a patch to fix all this, but first we have to
decide if it needs fixing. Some of these are kind of nitpicky, but
they
; file and rebuild to get rid of this error. However,
there are several other known Win32 build issues, so you'll likely have
to fiddle with things to get them to work. (The sleep() op is another
source of such misery.)
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I tak
Sam Tregar:
# On Fri, 26 Oct 2001, Brent Dax wrote:
#
# > What if I want my compiler to be lazy? Do you have the
# right to punish
# > me for my laziness by making me add constant folding to my
# optimizer (or
# > perhaps making me *write* an optimizer just to do constant folding)?
#
#
Dan Sugalski:
# At 10:51 AM 10/26/2001 -0400, Jason Gloudon wrote:
# >On Fri, Oct 26, 2001 at 06:54:32AM -0700, Brent Dax wrote:
# >
# > > What if I want my compiler to be lazy? Do you have the
# right to punish
# > > me for my laziness by making me add constant folding to
which fetches the global variable "name" and puts it into Px, and a
similar one for lexicals.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, Im not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
le from the CPAN) has many Unix
tools, including an implementation of 'diff'.
BTW, welcome to Perl6-Internals. Everybody say hi!
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, Im not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
*required* to special case two constant
arguments on *every* piece of code I write that works with Parrot.)
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, I'm not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
#sticks the results into I0
print "Match results: "
print I0
I'm still getting a few problems with my RE ops, so I can't test it yet.
Thanks,
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, Im not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
ch program?).
#
# This is a really simple fix but I just wanted to see if it would work.
Nice. Thanks, applied. Your change should show up in CVS in a few
minutes.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, Im not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
Jason Gloudon
# On Sun, Nov 11, 2001 at 08:57:15PM -0800, Brent Dax wrote:
#
# > You get the idea? And as for multidimensional stuff,
# what's wrong with:
# >
# > fetchlex P1, "@lol"
# > fetchary P2, P1, 1
# > fetchary P3, P2, 2
# > #...
#
# Consi
es with five tests,
and docs in the core.ops pseudo-patch.
Share and Enjoy,
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, Im not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
t decisions about ops.
# Brent Dax had babyperl working, but at some point we need to
# start in on
# the real parser, compiler, and optimizer modules.
Babyperl is currently defunct, thanks to massive in-progress changes to
accommodate operator precedence and to make the code more
understandable. I&
Cs are designed to hold weird data;
besides, they'll have to be able to hold CVs anyway.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 7-4-1776
py) {
...
}
except without the actual overhead of having an @arraycopy.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
When I take action, I'm not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
--Dubya
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 PROT
\
}
That if/else probably damaged performance, 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 as
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 ov
art, rx_popstart, and rx_info_setstart don't currently exist,
though they could probably be implemented fairly easily.
See my point? Unless there's some way to write opcodes for Perl 5's REs
(and we do all our benchmarking with that), we will probably never come
close to their perf
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+/
# >
# > preg
Bryan C. Warnock:
# On Sunday 25 November 2001 11:09 pm, Brent Dax wrote:
# > Not exactly.
# > 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 lef
f things, like using 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
uot;long";
Are these actually necessary? 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
themselves what
to do about currently non-existent 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
have an _snprintf function with the same
arguments. 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
memory is still in
use, even if the pointer to it is pointing into the middle of the memory
instead of the start? 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
#x27; clearer than a
# cryptic digit. However it would be slightly slower to compile
# that way.
We 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 'ne
amboling about,
# changing vtables dynamically between int and string and
# such... Maybe we
# should add a small layer of indirection and end up with class
# names such
# as 'perl_undef' and 'perl_scalar' that will isolate the code below the
# layer where the compiler author will have to care about what initial
# type the PMC is beyond undef/scalar/array/hash?
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
: missing source filename
gcc:
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 P
ster-based architecture. We actually do have a data stack too, for
passing arguments 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
it ourselves and making it available
to other scripting languages.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
ard 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
y listing /Fp name precompiled
header file
/Fd[file] name .PDB file /Fr[file] name source browser
file
/Fe name executable file /FR[file] name extended .SBR
file
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
Never mind. My e-mail client stopped downloading, so I didn't know this
was already being resolved. :^)
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
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
'target' file parameters block
{ qq{target("$item{file}", sub $item{block}, $item{parameters}) } }
block:
parameters:
parameter(s? / /)
parameter:
paramname '(' filelist &
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
se should be obvious. In that case, 'scalar'
context is really 'one' context. However, we can still call it scalar
context if it makes you feel better. :^) (Yes, those are just my
opinions. They do not necessarily reflect Larry's, Damian's or the guy
in the padded ce
ng or a PerlInt? I think 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
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.
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.
#
# Wel
gn it in such a way that other 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.
--B
and tired right now, so please disregard the
tone of this message.)
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
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
really need for this is the shell
scripts (which don't have to implement the "build-only-if-necessary"
logic of make) and a generic config.h that assumes nothing.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--Geor
Jarkko Hietaniemi:
# On Thu, Dec 20, 2001 at 11:09:44AM -0800, Brent Dax wrote:
# > Robert Spier:
# > # This means, that either:
# > #
# > # a) parrot needs to bootstrap itself from some platform-dependent
# > #bootstrap script. (and hopefully there would only
# need to be a
voke a compiler. It's the difference between:
C:\>cl buildparrot.c
C:\>buildparrot "cl /switches"
and just
C:\>buildparrot "cl /switches"
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today.&quo
concatenation) operators (in
perlop).
-The opendir(), readdir(), closedir(), and rename() built-in functions
(in perlfunc).
HTH.
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
4 characters.
The patch doesn't 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-qu
t; ['@argv %argv']}
);
In other files:
use MyModule; #imports everything in export
use MyModule 'quux';#imports only &quux
use MyModule ':argc'#imports @argv and %argv
use MyModule(); #imports nothing
Richard J Cox:
# [EMAIL PROTECTED] (Brent Dax) wrote:
# > krish:
# > # I am a beginner in Perl and have a very trivial query. I have
# > # some .expect
# [...]
# >
# > This is the wrong group for this sort of question.
# perl6-internals is
#
# s/internals/language/
Doh! got the
Bryan C. Warnock:
# On Saturday 22 December 2001 02:29 am, Brent Dax wrote:
# > I've been thinking about improvements that could be made to
# Exporter for
# > Perl 6.
# >
# > 1. Choosing where to export to:
# > use Data::Dumper 'Dumper' => 'd
Michael G Schwern:
# I've rearranged the proposed features a bit to put the long objections
# at the bottom.
#
# Brent Dax wrote:
# > I've been thinking about improvements that could be made to
# Exporter for
# > Perl 6.
# > 3. Warnings about conflicts:
# >
inline op set(i is rw, i|ic) {
$1=$2;
}
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
We have an empty 'less' pragma in Perl 5, right?
use less '6';
use less '6' => 'path/to/perl/6/version';
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
e.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
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."
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.
--Bre
anipulate them. They stringify to "Handle=0xDECAF" (or whatever) and
numify to 912559 (or whatever).
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
"Nothing important happened today."
--George III of England's diary entry for 4-Jul-1776
--- ..\..
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
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]
C
and store ops:
retrieve P1, P0, "foo"
store P0, "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
) { goto OFFSET(branchto); }
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
lly, it contains a couple tweaks 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\
Simon Cozens:
# On Sat, Jan 05, 2002 at 02:37:13AM -0800, Brent Dax wrote:
# > It appears that #include and #define directives within an ops file
# > aren't respected. Is this the case? I have something like
# this at the
# > top of rx.ops:
# >
# > /*
# > ** rx.ops
This makes the compiler errors much more
useful.
On the other hand, it will make it more difficult to debug 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
with
my Configure patch. *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
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 impo
able
ops files except 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
ll be left in place.
--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\Parrot\Test.pm Thu Dec 20 01:09:02 2001
+++ Parrot\Test.pm Mon Jan 7 0
c"]
concat S2, S2, P6, ["ccflags"]
concat S2, S2, S0
concat S2, S2, P6, ["ccflags_obj"]
concat S2, S2, S1
system I0, S2
if I0, $crap
ret
$crap:
die &quo
Ping.
A current entry point (In case the sub's yielded, this is where you
# 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
implementation before it's committed.
This patch is in preparation 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
. hawt sy
Ack, forgot these. (Below my sig.)
--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6
. hawt sysadmin chx0rs
This is sad. I know of *a* hawt sysamin chx0r.
I know more than a few.
obra: There are two? Are you sure it's not the same one?
--- ..\..\parrot-cvs\p
ucture (used for look(ahead|behind)s)
UNTESTED OPCODES:
rx_forwards - tell 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
m
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
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 for
don't backtrack.
--Brent Dax
[EMAIL PROTECTED]
Parrot Configure pumpking and regex hacker
. hawt sysadmin chx0rs
This is sad. I know of *a* hawt sysamin chx0r.
I know more than a few.
obra: There are two? Are you sure it's not the same one?
d p5/p6
# >
# >where the match method is called on each element of @foo?
#
# The former. The PerlArray object's perfectly justified in
# then calling
# match on each element inside itself.
How would this interact with the regular expression engine?
--Brent Dax
[EMAIL PROTECTED]
Configure pump
It was me. I thought "SELF->flags |= PMC_private_gc_FLAG" was a simple
enough line that I could avoid resyncing CVS and compiling. But then it
turned out that Dan hadn't put the flags in place yet. And after that
it turned out he capitalized the GC. Ugh.
--Brent Dax
[EMAIL PROTE
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
39997 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 pu
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
.
-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
t: 0.24100 seconds for 10_000 iters
Best: perl, worst: parrot. Spread of 0.21100.
The program is attached; it requires my latest regex patch to work. You
may need to tr{\\}{/} in a few places to get it to work on Unix systems.
--Brent Dax
[EMAIL PROTECTED]
Parrot Configure pumpking and regex h
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
. hawt sysadmin chx0rs
This is sad. I know
ce more of the contexts
it's used in expect INTVALs than not.
--Brent Dax
[EMAIL PROTECTED]
Parrot Configure pumpking and regex hacker
. hawt sysadmin chx0rs
This is sad. I know of *a* hawt sysamin chx0r.
I know more than a few.
obra: There are two? Are you sure it's not the same one?
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
. hawt sysadmin
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_po
No exceptions. If you use a string 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
. hawt sysadmin chx0rs
This is sad. I know of *a* hawt sysamin chx0r.
I know more than a few.
obra: There are two? Are you sure it's not the same one?
of the current block
UNDOExecutes on "un-normal" exit of the current block
--Brent Dax
[EMAIL PROTECTED]
Parrot Configure pumpking and regex hacker
. hawt sysadmin chx0rs
This is sad. I know of *a* hawt sysamin chx0r.
I know more than a few.
obra: There are tw
401 - 500 of 891 matches
Mail list logo