# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31046]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31046
$ perl -Ilib t/pmc/perlnum.t
...
not ok 36 - +- zero
# Failed test
On Tue, 2004-08-10 at 09:16, Nicholas Clark wrote:
Does the structure change at runtime? (ie can one register new dynamically
loaded NCI helper code?)
If I understand what Dan wants, no. Unless the platform has a JIT that
can generate stubs for all valid NCI signatures, it has to fall back to
I realized there are two parts to this, so here's the first part.
Note that the charset API has the entire encoding API in it. This
allows the charset to interfere with what code wants to do to the
underlying byte buffer. (The unicode charset will undoubtedly want to
make sure those
On Mon, 2004-08-09 at 12:11, Dan Sugalski wrote:
You could look at what we do for class registration -- that code
might be similar. I don't think we've got too much at the C level
that messes around with parrot hashes yet, though.
No, not a lot of examples. Here's a patch that's somewhat
On 11 Aug 2004, at 06:10, Dan Sugalski wrote:
* Networking: socket, accept, connect, listen, etc. (see Files)
Yeah, and this'll be ever so much fun too. We need to add in select
and poll to that list.
Modern operating systems all have a way to get around the suckiness of
poll/select when you
On Tue, 10 Aug 2004 12:20:14 -0400, Michael Stone [EMAIL PROTECTED] wrote:
I'm not very clear on the situation in Parrot with having multiple
interpreters running in the same process.
Entirely possible. In fact, each thread in a process has its own interpreter.
I know that Lua has this
While this is not the best list discussing which version control system
is better, I must say that I didn't mean svn is better though I setup the
mirror. And my purpose was actually to make it possible for svk to mirror
more efficiently.
for people interested, checking out from locally mirrored
Uri Guttman wrote:
...
DE Yes, run-time libraries are included. They are written in C.
DE Generally, both OC and TC generate inline code for program flow
DE control. The RTL are used mostly for type conversions, system calls
DE and such.
then the question is how hard would it be to retarget from
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31058]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31058
- make number of noop calibration rounds relative to the number of
At 2:19 PM +0530 8/11/04, Gopal V wrote:
Hi Dan Michael,
As a guy who speaks a strange language (multi byte chars, multi glyph
chars, caseless
text and half vowels) , I think you have made it too complicated than
it should be .
This scared me some, as I've not gotten to the complicated part...
Jarkko Hietaniemi (via RT) wrote:
After the [perl #31029] this one failure remains in IRIX64 (big-endian,
intval and long size 8, int size 4):
The remaining failure has something to with alignment (or lack
thereof, too, and something to do with keyed access):
./parrot t/pmc/nci_20.pasm
10
Bus
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31064]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31064
Because this is a family channel I won't publicly comment on the
DS == Dan Sugalski [EMAIL PROTECTED] writes:
DS At 6:32 PM +0100 8/10/04, Arthur Bergman wrote:
Modern operating systems all have a way to get around the suckiness
of poll/select when you have large number of fds
(epoll/aio/kqueue/whatever), there should be away to override those
Hi Dan Michael,
As a guy who speaks a strange language (multi byte chars, multi glyph
chars, caseless
text and half vowels) , I think you have made it too complicated than
it should be .
charset end of things, offsets will be in graphemes (or Freds. I
don't remember what we finally decided
Attached find a patch to http://www.parrotcode.org/examples/index.html that:
(0) depends on a patch I sent to the webmaster folks earlier adding back in the docs/*
hierarchy (a small shim of .html files that just points to everything that ends up in
parrot's docs directory after a build. - goes
# New Ticket Created by chromatic
# Please include the string: [perl #31065]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31065
Here's a patch that cleans up some POD errors and warnings in C files.
-- c
After my discussion, I've included an annotated copy of the functions,
where I've added my comments after each function.
So, assuming (hah!) that I correctly understood everything in the draft,
It seems that I have several general concerns:
1. Why are lists of bits or bytes that are being
From: Dan Sugalski (via RT) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: [perl #31031] Need a way to access the namespace of a class object
Date: Mon, 09 Aug 2004 14:09:04 -0700
# New Ticket Created by Dan Sugalski
# Please include the string: [perl
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31059]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31059
I don't think it's fair or correct to claim pointer alignment is
four on
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #31063]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31063
Hi,
the two new languages 'Span' and 'Parakeet' should be mentioned in
At 4:15 PM -0400 8/10/04, Aaron Sherman wrote:
On Mon, 2004-08-09 at 14:14, Dan Sugalski wrote:
Additionally if we have source text which is
Latin-n, EBCDIC, ASCII, or whatever we must be
able to convert it with no loss to Unicode.
(Which I believe is now doable with Unicode 4.0)
Losslessly
This is part two of the charset API. Part 1 dealt with access and
transformation of strings, part two here deals with glyph and
codepoint classification.
I'm not sure if these belong in the charset vtable or should be
separate. Probably putting them in the vtable's the right (or at
least
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #31060]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31060
The PARROT_BYTEORDER (which is, oddly, unused) probably makes more sense
as
On Tue, 2004-08-10 at 22:42, Dan Sugalski wrote:
Part of me's tempted to just define our own set of functions, but the
problem there is that we then put the onus on the embedding app to
conform to us, which I'm not sure is the right way to go about things.
When the standard APIs are all so
On Mon, 2004-08-09 at 14:14, Dan Sugalski wrote:
Additionally if we have source text which is
Latin-n, EBCDIC, ASCII, or whatever we must be
able to convert it with no loss to Unicode.
(Which I believe is now doable with Unicode 4.0)
Losslessly converting Unicode to
I don't want to argue per-se (that doesn't do anyone any good), so if
your mind is made up, that's cool... still, I think there's some value
in exploring the options, so read on if you're so inclined.
On Wed, 2004-08-11 at 04:40, Dan Sugalski wrote:
Converting Unicode to non-Unicode
Sorry if this is a repeat, but I didn't get my own mail back, so I
think I may have had sending problems.
On Aug-09, Patrick R. Michaud wrote:
Luke Palmer and I started work on the grammar engine this past week.
It's a wee bit too early in the process for us to be making any
promises about
I sent this on Tue, but it never came back to me from the list, so here
it is again. Sorry if anyone gets a repeat.
Begin forwarded message:
Date: Tue, 10 Aug 2004 13:58:47 -0700
From: Michel Pelletier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [perl #31031]
Hildo == Hildo Biersma [EMAIL PROTECTED] writes:
Hildo I'm looking at writing Parrot support for a vendor library: IBM MQ
Hildo (Message Queueing, aka MQSeries, aka WebSphere MQ). The current
Hildo perl module (which I maintain) uses XS code and Parrot's NCI should
Hildo simplify this a lot.
# New Ticket Created by Felix Gallo
# Please include the string: [perl #31050]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31050
Synopsis: in CVS as of Tue Aug 10 17:30:52 EDT 2004, the
On Mon, Aug 09, 2004 at 12:04:31PM -0400, Dan Sugalski wrote:
When Parrot's being embedded I can see the following functions
needing overriding by the embedder:
*) Memory: malloc, realloc, calloc, free
*) Signals: handler register, Handler un-register, signal raise, alarm set
*) Files: Open,
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #31061]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31061
Hi,
I found tools/dev/parrot_coverage.pl in freshly updated cvs tree to
I'd like advice on how to handle method invocations that include special
block parameters such as
method() {do something}
The idea is to turn the block into a closure pmc. The problem is how to
pass this to the method, so that it knows that it's a special block
parameter. Particularly in a way
On August 9, 2004 02:34 pm, Dan Sugalski wrote:
At 4:12 PM -0400 8/9/04, Melvin Smith wrote:
At 11:22 AM 8/9/2004 -0400, Dan Sugalski wrote:
At 1:13 PM +0200 8/8/04, Leopold Toetsch wrote:
Leopold Toetsch [EMAIL PROTECTED] wrote:
You can verify this step by running -v:
$ parrot -v
Felix Gallo (via RT) wrote:
Synopsis: in CVS as of Tue Aug 10 17:30:52 EDT 2004, the
examples/japh/japh[4,5,6,9].pasm examples all crash with
segmentation fault on my highly hacked up linux box.
Ah, yep thanks.
They arguably should be working fine.
IO changes WRT output line-buffering made
chromatic wrote:
No, not a lot of examples. Here's a patch that's somewhat naive but
passes all tests on my machine (Linux PPC).
I'm a bit concerned about the initialization code, especially the static
hash, but it's more important to have code available for review than
improvement than to wait
mark sparshatt wrote:
I'd like advice on how to handle method invocations that include special
block parameters such as
method() {do something}
The idea is to turn the block into a closure pmc. The problem is how to
pass this to the method, so that it knows that it's a special block
parameter.
Bernhard Schmalhofer (via RT) wrote:
the two new languages 'Span' and 'Parakeet' should be mentioned in
LANGUAGES.STATUS.
Thanks, applied.
leo
Leopold Toetsch wrote:
mark sparshatt wrote:
I'd like advice on how to handle method invocations that include
special block parameters such as
method() {do something}
The idea is to turn the block into a closure pmc. The problem is how
to pass this to the method, so that it knows that it's a
At 6:34 AM +0800 8/10/04, Chia-liang Kao wrote:
While this is not the best list discussing which version control system
is better, I must say that I didn't mean svn is better though I setup the
mirror. And my purpose was actually to make it possible for svk to mirror
more efficiently.
Don't worry
At 7:37 PM +1000 8/10/04, Adam Richardson wrote:
I'm not sure how you plan to integrate the database level (or whether it
affects what you are doing at all), but presumably you know all about the
new encoding and collation sets in mySQL 4.1. Things have changed quite a
bit there from 4.0, and I've
At 12:24 AM -0600 8/13/04, Thomas Fjellstrom wrote:
On August 9, 2004 02:34 pm, Dan Sugalski wrote:
At 4:12 PM -0400 8/9/04, Melvin Smith wrote:
At 11:22 AM 8/9/2004 -0400, Dan Sugalski wrote:
At 1:13 PM +0200 8/8/04, Leopold Toetsch wrote:
Leopold Toetsch [EMAIL PROTECTED] wrote:
You can
At 11:07 AM +0200 8/13/04, Hans Ginzel wrote:
On Mon, Aug 09, 2004 at 12:04:31PM -0400, Dan Sugalski wrote:
When Parrot's being embedded I can see the following functions
needing overriding by the embedder:
*) Memory: malloc, realloc, calloc, free
*) Signals: handler register, Handler
At 1:11 PM +0200 8/13/04, Leopold Toetsch wrote:
chromatic wrote:
No, not a lot of examples. Here's a patch that's somewhat naive but
passes all tests on my machine (Linux PPC).
I'm a bit concerned about the initialization code, especially the static
hash, but it's more important to have code
At 5:16 PM +0100 8/10/04, Nicholas Clark wrote:
On Mon, Aug 09, 2004 at 03:11:53PM -0400, Dan Sugalski wrote:
At 11:57 AM -0700 8/9/04, chromatic wrote:
Is there a particular hash lookup style you have in mind? If there's
something similar in the code already, I can copy, paste, and modify
On Fri, 2004-08-13 at 09:23, Dan Sugalski wrote:
This hash should either be allocated from constant PMCs that don't
get GC'd, or put in the root set, then.
Just to be specific then, the steps would be:
- allocate a new PMC
- mark it as constant (PMC_constant_FLAG) or call the
On Fri, Aug 13, 2004 at 02:12:06PM +0100, mark sparshatt wrote:
: My main worry with this approach is how it would interact with slurpy
: args. I mean if method is defined as
:
: def method(*args)
: ...
: end
:
: how do I make sure that $clos doesn't become part of args?
In Perl 6 circles
On Tue, Aug 10, 2004 at 10:45:43AM -0700, Brent 'Dax' Royal-Gordon wrote:
: I would assume (hope) that these tables would not be allowed to change
: once Parrot started using them. It seems like an extremely dangerous
: thing to have two calls to read() be performed by different functions,
:
On Wed, 2004-08-11 at 09:21, Jarkko Hietaniemi wrote:
--- t/pmc/nci.t 2004-08-11 19:11:06.0 +0300
+++ t/pmc/nci.t.dist2004-08-11 19:14:15.0 +0300
@@ -566,7 +566,7 @@
push P2, 0
push P2, 0
push P2, .DATATYPE_STRUCT_PTR
- # attach the unmanaged struct as property
+ #
At 11:04 AM -0700 8/13/04, Larry Wall wrote:
On Tue, Aug 10, 2004 at 10:45:43AM -0700, Brent 'Dax' Royal-Gordon wrote:
: I would assume (hope) that these tables would not be allowed to change
: once Parrot started using them. It seems like an extremely dangerous
: thing to have two calls to
On Wed, Aug 11, 2004 at 04:16:48PM -0400, Dan Sugalski wrote:
: If it's that handy then someone can write a library routine. This
: feels very much to be in the same category as running a
: speech-to-text algorithm if you send WAV data to a text filehandle.
Well, you can write a library
On Tue, 10 Aug 2004, Jarkko Hietaniemi wrote:
$ perl -Ilib t/pmc/perlnum.t
...
not ok 36 - +- zero
# Failed test (t/pmc/perlnum.t at line 690)
# got: '0
# 0
# '
# expected: '0
# -0.00
# '
I don't think there is any guarantee how fp -0.0 should be printed
by
chromatic wrote:
On Fri, 2004-08-13 at 09:23, Dan Sugalski wrote:
This hash should either be allocated from constant PMCs that don't
get GC'd, or put in the root set, then.
Just to be specific then, the steps would be:
- allocate a new PMC
- mark it as constant (PMC_constant_FLAG)
That would
On Tue, Aug 10, 2004 at 01:43:37PM +0200, Leopold Toetsch wrote:
: We need offical PDDs about the behavior of our PMCs. I hope that Perl6
: types will be the same as Perl5 types.
Well, assuming that Perl 6 is like Perl 5 is often a good first
approximation, but in this case we're thinking that
At 1:43 PM +0200 8/10/04, Leopold Toetsch wrote:
We currently have two integer PMCs, we need another one for Python.
But before just copypaste another file, I'd really have done that
right.
I think what we need's a policy here. Larry's weighed in on what
Perl's going to want, which is cool. (In
I've been developing Parakeet on a month old Parrot build, so today I
decided to update to a recent checkout, and Parakeet broke two ways.
The first is multi-inheritance stopped working, but that's not as big a
deal as the new problem. Consider:
.sub _main @MAIN
BeginInteraction:
At 11:24 AM -0700 8/13/04, Michel Pelletier wrote:
I've been developing Parakeet on a month old Parrot build, so today I
decided to update to a recent checkout, and Parakeet broke two ways.
The first is multi-inheritance stopped working, but that's not as big a
deal as the new problem.
Gack --
On Fri, 13 Aug 2004 16:40:12 -0400
Dan Sugalski [EMAIL PROTECTED] wrote:
At 11:24 AM -0700 8/13/04, Michel Pelletier wrote:
I've been developing Parakeet on a month old Parrot build, so today I
decided to update to a recent checkout, and Parakeet broke two ways.
The first is
On Fri, 13 Aug 2004 11:44:28 -0400, Dan Sugalski [EMAIL PROTECTED] wrote:
Still, I think it might be worth dedicating a slot to it. It's a
handy feature, and if we open it up to perl python I'd bet we'd see
them using it.
This makes we wonder if we shouldn't generalize the concept of these
On Fri, 2004-08-13 at 11:58, Leopold Toetsch wrote:
When that's fixed (or hash's memory is malloced) then the keys have to
be declared with CONST_STRING() or - as these are C strings in the first
place, you create a custom hash with C-string keys. See the API in
hash.c:new_hash_x() or just
Aaron,
I happen to agree with Dan about the unwieldiness of replacing
characters with their full names during character translation, but your
idea of using Unicode equivalents seems more palatable. I'm going to
ignore the issue of how this method of handling errors fits into the
scheme
Oh yeah, the goal of this exercise was to cache the hash, not build it
every time. Here's a version which does that and passes the tests with
GC_DEBUG. It still complains about passing constant C-strings to
hash_put(), but that's a different story.
-- c
Index: include/parrot/interpreter.h
On Tue, Aug 10, 2004 at 10:45:43AM -0700, Brent 'Dax' Royal-Gordon wrote:
: I would assume (hope) that these tables would not be allowed to change
: once Parrot started using them. It seems like an extremely dangerous
: thing to have two calls to read() be performed by different functions,
:
Larry Wall wrote:
On Wed, Aug 11, 2004 at 04:16:48PM -0400, Dan Sugalski wrote:
: If it's that handy then someone can write a library routine. This
: feels very much to be in the same category as running a
: speech-to-text algorithm if you send WAV data to a text filehandle.
Well, you can write
64 matches
Mail list logo