Simplifying Marking with a Macro

2007-06-19 Thread chromatic
I hate seeing repeated code structures. We could simplify the mark() entry in plenty of PMCs with a macro something like: #define MARK_UNLESS_NULL(interp, struct, name) \ if (struct->name) \ pobject_lives(interp, (PObj *)struct->name) -- c

[perl #43241] [PATCH] [CAGE] include/parrot/string.h typedefs STRING and String are redundant

2007-06-19 Thread Paul Cochrane via RT
On Mon Jun 18 15:03:31 2007, petdance wrote: > > On Jun 18, 2007, at 11:28 AM, Mark Glines (via RT) wrote: > > > Here's a patch to consolidate that, and standardize on STRING (based > > on the fact that it's used *much* more often than String is). > > And also isn't String a standard C++ class?

Re: memcpy

2007-06-19 Thread Joshua Isom
On Jun 18, 2007, at 4:48 PM, Andy Lester wrote: Is there a reason we use memcpy( dest, src, sizeof(FOO) ); instead of *dest = *src; The latter should be the exact same code, but be much less likely to be screwed up. No, they're extremely different. In the first, the data of FOO is

Re: Perl 6 & Parrot Essentials as project documentation

2007-06-19 Thread herbert breunung
thats great because i actually use some parts for the article i currently write about perl6 and i think some musings about perl6 in theory could in this way flow back to the book because i think its not written the easiest way in some corners. but will see. great step herbert proton-ce.sf.net

Re: Perl 6 & Parrot Essentials as project documentation

2007-06-19 Thread Moritz Lenz
Allison Randal wrote: > I just signed an agreement with O'Reilly that assigns the full copyright > in the book "Perl 6 and Parrot Essentials" to The Perl Foundation. The > text is out-of-date, but can be updated much more rapidly than it can be > rewritten from scratch. Sounds great. Does TPF h

Re: Perl 6 & Parrot Essentials as project documentation

2007-06-19 Thread Jesse Vincent
I'm pleased to announce that the Perl 6 parts of /Perl 6 and Parrot Essentials/ are now available at http://svn.pugscode.org/pugs/docs/tutorial/ [1] for your hacking pleasure. Thanks to Allison for navigating the sometimes murky waters of copyright assignment and licensing to get this docum

Re: Perl 6 & Parrot Essentials as project documentation

2007-06-19 Thread Jesse Vincent
On Jun 18, 2007, at 8:13 PM, Moritz Lenz wrote: Allison Randal wrote: I just signed an agreement with O'Reilly that assigns the full copyright in the book "Perl 6 and Parrot Essentials" to The Perl Foundation. The text is out-of-date, but can be updated much more rapidly than it can be r

[perl #43249] [TODO] remove SMOP prototypes

2007-06-19 Thread via RT
# New Ticket Created by Allison Randal # Please include the string: [perl #43249] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43249 > To be removed from the 0.4.14 release (deprecation notice given in 0.4.13). src/pmc

Re: [svn:parrot] r19081 - trunk/include/parrot

2007-06-19 Thread Allison Randal
All XXX notes should be attached to an RT ticket. [EMAIL PROTECTED] wrote: Author: petdance Date: Sun Jun 17 23:21:22 2007 New Revision: 19081 Modified: trunk/include/parrot/register.h Log: add an XXX note Modified: trunk/include/parrot/register.h ==

draft NEWS update for 0.4.13

2007-06-19 Thread Allison Randal
Additions and corrections welcome. -- New in 0.4.13 - Languages: + Updated Lisp, Lua, PHP ("Plumhead"), Python ("Pynie"), ABC, WMLScript, and Tcl ("ParTcl"). + Perl 6 passes all but one of the sanity tests. + PGE supports latest Perl 6 grammar syntax. Perl 6 and ABC parsers updated to

PMC Proxy high-level review

2007-06-19 Thread Allison Randal
While putting together the news entries for the 0.4.13 release, I ended up doing a code review on PMCProxy. It looks like every low-level PMC is creating a proxy object for itself and these proxies are stored in the interpreter global parrot_interp_t. I intended that proxies would only be cre

Re: [perl #43241] [PATCH] [CAGE] include/parrot/string.h typedefs STRING and String are redundant

2007-06-19 Thread Gabriel Dos Reis
Andy Lester <[EMAIL PROTECTED]> writes: | On Jun 18, 2007, at 11:28 AM, Mark Glines (via RT) wrote: | | > Here's a patch to consolidate that, and standardize on STRING (based | > on the fact that it's used *much* more often than String is). | | And also isn't String a standard C++ class? No. T

Re: memcpy

2007-06-19 Thread Andy Armstrong
On 19 Jun 2007, at 08:48, Joshua Isom wrote: On Jun 18, 2007, at 4:48 PM, Andy Lester wrote: Is there a reason we use memcpy( dest, src, sizeof(FOO) ); instead of *dest = *src; The latter should be the exact same code, but be much less likely to be screwed up. No, they're extremely

Query regarding Java/perl interface

2007-06-19 Thread sameerlt1983
Hi I am sameer and am new to this group. It would realy help if any body can let me know is there a book or reference guiode where in i can get help regarding the perl/java interface and also about the tool named "Java perl lingo".

[perl #43250] [PATCH] Relax myops alarm Timing

2007-06-19 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #43250] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43250 > Test 5 of F has some very strong timing constraint. Two sleeps of a second each (and a

Request for kp6 compiler architecture review

2007-06-19 Thread Flavio S. Glock
I'm working on the development plan for the next generation of the Perl6-in-Perl6 compiler "kp6". kp6 is implemented in mp6, a basic version of Perl 6 which is written in mp6 itself, and bootstrapped on Perl 5. kp6, while incomplete, runs today and can already parse and compile a subset of Perl

Re: [perl #43241] [PATCH] [CAGE] include/parrot/string.h typedefs STRING and String are redundant

2007-06-19 Thread Mark Glines
On Tue, 19 Jun 2007 00:33:23 -0700 "Paul Cochrane via RT" <[EMAIL PROTECTED]> wrote: > On Mon Jun 18 15:03:31 2007, petdance wrote: > > > > On Jun 18, 2007, at 11:28 AM, Mark Glines (via RT) wrote: > > > > > Here's a patch to consolidate that, and standardize on STRING > > > (based on the fact t

[perl #43251] [PATCH] Rename tools/dev/mk_manifests.pl

2007-06-19 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #43251] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43251 > According to its documentation, mk_manifests.pl "...generates a set of F files that gi

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Patrick R. Michaud
On Tue, Jun 19, 2007 at 02:14:22AM -0700, Allison Randal wrote: > Additions and corrections welcome. > > -- > > New in 0.4.13 > > - Languages: > + Updated Lisp, Lua, PHP ("Plumhead"), Python ("Pynie"), ABC, > WMLScript, and Tcl ("ParTcl"). > + Perl 6 passes all but one of the sanity tests

Re: [perl #43241] [PATCH] [CAGE] include/parrot/string.h typedefs STRING and String are redundant

2007-06-19 Thread Andy Lester
On Jun 19, 2007, at 2:33 AM, Paul Cochrane via RT wrote: Does this close this ticket, or are there still outstanding instances? No, that closes it. Thanks for taking care of it. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Patrick R. Michaud
On Tue, Jun 19, 2007 at 02:14:22AM -0700, Allison Randal wrote: > Additions and corrections welcome. > > -- > > New in 0.4.13 > > - Languages: > + Updated Lisp, Lua, PHP ("Plumhead"), Python ("Pynie"), ABC, > WMLScript, and Tcl ("ParTcl"). > + Perl 6 passes all but one of the sanity tests

Re: [perl #43250] [PATCH] Relax myops alarm Timing

2007-06-19 Thread jerry gay
On 6/19/07, via RT Ron Blaschke <[EMAIL PROTECTED]> wrote: # New Ticket Created by Ron Blaschke # Please include the string: [perl #43250] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43250 > Test 5 of F has some very str

Re: [perl #39197] [RESOLVED] [CAGE] lib/Parrot/Test.pm ignores core dumps

2007-06-19 Thread Andy Dougherty
On Mon, 18 Jun 2007, chromatic via RT wrote: > On Monday 18 June 2007 09:54:01 Andy Dougherty wrote: > > > I'm sorry to report it, but this one isn't fixed. For example, consider > > test t/src_hash_6. If I compile and run it manually, I get > > > > $ t/src/hash_6 > > 42 > > Segment

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Will Coleda
On Tue, Jun 19, 2007 at 02:14:22AM -0700, Allison Randal wrote: Additions and corrections welcome. -- New in 0.4.13 - Languages: + Updated Lisp, Lua, PHP ("Plumhead"), Python ("Pynie"), ABC, WMLScript, and Tcl ("ParTcl"). I don't think tcl has any significant updates in this release

Re: Generalizing ?? !!

2007-06-19 Thread Charles Bailey
[ Sorry to fall off the net for several days . . .] On 6/13/07, Larry Wall <[EMAIL PROTECTED]> wrote: On Wed, Jun 13, 2007 at 05:08:34PM -0400, Charles Bailey wrote: : I'm concerned that the relevant precedent isn't just Perl5. The ?: spelling : of the ternary is pretty deeply embedded in progr

Re: [perl #43251] [PATCH] Rename tools/dev/mk_manifests.pl

2007-06-19 Thread Bernhard Schmalhofer
James Keenan (via RT) schrieb: According to its documentation, mk_manifests.pl "...generates a set of F files that give the final locations in the file system for all the installable files listed in F and F." The name of this program is close to that of tools/dev/ mk_manifest_and_skip.pl --

assign-if-uninitialized [Was: Generalizing ?? !!]

2007-06-19 Thread Larry Wall
On Tue, Jun 19, 2007 at 11:50:35AM -0400, Charles Bailey wrote: : Yep. For that matter, if I had to pick one change in this area that'd : have maximum impact, I'd say a good assign-if-uninitialized idiom : would be way ahead of an if-then-else idiom. Depending on how you mean "uninitialized", tha

Re: [svn:perl6-synopsis] r14421 - doc/trunk/design/syn

2007-06-19 Thread Chaddaï Fouché
I'm quite surprised by this debate... To me it seems a clear rule that state that "if a line begin with "=" then it starts a POD section" is way easier to understand than "a line beginning by = will start a POD section except if it is in a Perl statement, or in a :to section, or in a string litera

Re: draft NEWS update for 0.4.13

2007-06-19 Thread chromatic
On Tuesday 19 June 2007 08:07:26 Will Coleda wrote: > I don't think tcl has any significant updates in this release. It fails more tests faster. That's significant, though not brag-worthy. -- c

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Allison Randal
Patrick R. Michaud wrote: perl6 is now passing all of the 01-sanity tests. Rockin'! A lot of commits went into that this month. Thanks guys! Allison

[perl #43253] [BUG] parrot segfaults when building perl6 on windows with msvc

2007-06-19 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #43253] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43253 > for some time now, parrot has been segfaulting on windows. this is a notoriously tricky bug

[perl #43253] [BUG] parrot segfaults when building perl6 on windows with msvc

2007-06-19 Thread Jerry Gay via RT
applied workaround patch as r19136. ~jerry

Re: Simplifying Marking with a Macro

2007-06-19 Thread Joshua Juran
On Jun 19, 2007, at 12:13 AM, chromatic wrote: I hate seeing repeated code structures. We could simplify the mark () entry in plenty of PMCs with a macro something like: #define MARK_UNLESS_NULL(interp, struct, name) \ if (struct->name) \ pobject_lives(interp, (PObj *)struct->name

pdd15 - How do I add a class method?

2007-06-19 Thread Patrick R. Michaud
As mentioned during today's #parrotsketch meeting, I have a number of questions about the specifics of performing certain operations in the new object model given by pdd15. These are all generally "how do I...?" types of questions, where I have something I want to do but in reading pdd15 it wasn't

Re: memcpy

2007-06-19 Thread Leopold Toetsch
Am Montag, 18. Juni 2007 23:48 schrieb Andy Lester: > Is there a reason we use > >    memcpy( dest, src, sizeof(FOO) ); > > instead of > >    *dest = *src; > > The latter should be the exact same code, but be much less likely to   > be screwed up. I'm using a lot of the first kind. The main reason

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Leopold Toetsch
Am Dienstag, 19. Juni 2007 16:52 schrieb Patrick R. Michaud: > perl6 is now passing all of the 01-sanity tests.   Woot. Wouldn't that qualify for a 0.5.0 release number. leo

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Allison Randal
Leopold Toetsch wrote: Am Dienstag, 19. Juni 2007 16:52 schrieb Patrick R. Michaud: perl6 is now passing all of the 01-sanity tests. Woot. Wouldn't that qualify for a 0.5.0 release number. Not yet, but when we have PGE and Perl 6 switched over to the new object model it will. (i.e. we may

Re: draft NEWS update for 0.4.13

2007-06-19 Thread Jesse Vincent
On Jun 19, 2007, at 10:52 AM, Patrick R. Michaud wrote: On Tue, Jun 19, 2007 at 02:14:22AM -0700, Allison Randal wrote: Additions and corrections welcome. -- New in 0.4.13 - Languages: + Updated Lisp, Lua, PHP ("Plumhead"), Python ("Pynie"), ABC, WMLScript, and Tcl ("ParTcl"). + Perl

[perl #43254] Parrot 0.4.14 Release

2007-06-19 Thread via RT
# New Ticket Created by Allison Randal # Please include the string: [perl #43254] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43254 > This ticket is a placeholder for the 0.4.14 release on 17 July 2007.

Re: 0.4.13 Release Code Slush

2007-06-19 Thread Allison Randal
Release cut and tagged. You may now return to commits as usual. Allison

Parrot 0.4.13 "Clifton" Released

2007-06-19 Thread Allison Randal
On behalf of the Parrot team, I'm proud to announce Parrot 0.4.13 "Clifton." Parrot (http://parrotcode.org/) is a virtual machine aimed at running all dynamic languages. Parrot 0.4.13 can be obtained via CPAN (soon), or follow the download instructions at http://parrotcode.org/source.html. Parro

[perl #43251] [PATCH] Rename tools/dev/mk_manifests.pl

2007-06-19 Thread James Keenan via RT
On Tue Jun 19 09:19:38 2007, bernhard wrote: > > Perhaps somebody who knows about creating Parrot distributions can comment > whether 'tools/dev/mk_manifests.pl' and 'tools/dev/installfiles.pl' are > needed at all. > Well, pending an answer to that question, I decided to take bull by horns and

[perl #43251] [PATCH] Rename tools/dev/mk_manifests.pl

2007-06-19 Thread James Keenan via RT
Name change applied. Closing ticket.

perl6/parrot now passes 01-sanity

2007-06-19 Thread Patrick R. Michaud
As many of you may have gleaned from some of the recent Parrot announcements, we now have the Perl6/Parrot compiler ("perl6") passing all of the "01-sanity" tests. Special thanks go to Will Coleda (Coke), chromatic, Jerry Gay (particle), Mark Glines, and anyone else I might have forgotten for t

Perl6 new features

2007-06-19 Thread cdumont
Hi everyone, I am working with perl 5.8 at the moment after developping web apps in PHP. I know that perl doesn't only focus on web apps and my question might seem irrelevant but I've been searching the web in order to find the new features of perl6 regarding new functions, core module lists

Re: Query regarding Java/perl interface

2007-06-19 Thread Agent Zhang
On 6/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi I am sameer and am new to this group. It would realy help if any body can let me know is there a book or reference guiode where in i can get help regarding the perl/java interface and also about the tool named "Java perl lingo". For

Referring to source code within Perldoc: the new A<> code

2007-06-19 Thread Damian Conway
Here's the first draft (documented in Pod 6, of course ;-). Feedback and suggestions are most welcome. (But please don't bother explaining to me this feature won't suffice as the high-level automatic code-to-documentation mechanism that Markov has been championing. I promise that I'm very well

And for those who prefer their design documents pre-cooked...

2007-06-19 Thread Damian Conway
Ambient aliases The A<> formatting code specifies an alias to an ambient antecedent. This is li

Re: Parrot 0.4.13 "Clifton" Released

2007-06-19 Thread Allison Randal
Jonathan Scott Duff wrote: - Misc: + Updated Parrot distribution to Artistic License 2.0, from dual Artistic 1/GPL license. Does this mean that Parrot is no longer dual licensed? Yes. Under section 4(c)(ii) of Artistic 2.0 you can redistribute the code under the GPL (any v