;
--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
. 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
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
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
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
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
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
.
--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
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
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
; @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
]
--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
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
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
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
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
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
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
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.
, 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_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.
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.
.
# 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
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
/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
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.
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.
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
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
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
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
, 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
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
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
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
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
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
[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
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
-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
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
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
. 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
. :^)
--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
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
=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
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
# 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
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
.
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
://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
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
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
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
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
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
.
--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
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
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
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
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
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
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
# @@ -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
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
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
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
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
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
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
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
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
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
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
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
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
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
*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
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
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
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
, *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
[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
' 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
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
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
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
). 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
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
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
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
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
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
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
, 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
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
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
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
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
' (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
201 - 300 of 523 matches
Mail list logo