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
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
.
# 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
# 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
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
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
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
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
;
# +
# +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
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
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
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
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
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
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
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
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
?
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
(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
;
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
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
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
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
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
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
: 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
? 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
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
. 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
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
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
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
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
.
--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
: 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
, 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
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
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
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
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
, 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
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
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
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
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
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
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
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
.
-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
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
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
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
# 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
.
--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 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 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
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
# 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
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
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
Ping.
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
. *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 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
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
); }
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
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
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
, 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
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
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
)? 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
:
#
# 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
.)
--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 entry for 4-Jul
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
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
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
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
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
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
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
:
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
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
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
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
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
?
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
:
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
? 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
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
. 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
? 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
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
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
, 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
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
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
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
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
301 - 400 of 523 matches
Mail list logo