Re: [PIR] Macro layer: an overview document

2007-10-24 Thread Joshua Isom
On Oct 23, 2007, at 5:45 PM, Allison Randal wrote: Klaas-Jan Stol wrote: Hi, attached a document describing the current macro layer of IMCC. On the proposed modifications to macros, I have reservations on the automatic munging of .local variable names. Macros are simple parameterized

Re: Dynamic variable scoping

2007-10-24 Thread Allison Randal
Bob Rogers wrote: All I am talking about is the equivalent of what local $var provides for Perl 5, i.e. dynamically-scoped binding of scalar package variables. Perl 5 locals and Perl 6 temps are quite different than Lisp special variables. I don't immediately see a way to explain this any

Re: [PIR] Macro layer: an overview document

2007-10-24 Thread Allison Randal
Joshua Isom wrote: .sub bar .declare_my_locals(foo) local_declare_my_locals_foo = 5 print local_declare_my_locals_foo ... .end Those aren't meant to be accessed outside the macro. And imcc adds a number to it to make it hard to guess and there's no incentive to do that. The

Re: [PIR] Macro layer: an overview document

2007-10-24 Thread Allison Randal
jerry gay wrote: yes, '.local' in a macro should mean the same thing as '.local' in pir. You've got it exactly. to confuse the matter further, '.local' in a macro currently means create a unique label. kjs's proposal changes that to '.label' local in pir and macro language means

Re: [svn:parrot-pdd] r22428 - trunk/docs/pdds/draft

2007-10-24 Thread Klaas-Jan Stol
Hi, I had a look at the revision of pdd19, it reads much better than the first document. I do have some comments, besides the reply I gave earlier (but I later realized I didn't do reply-all). 1. line 96 talks about the data types int, string, pmc and float. I thought the word float was a bit

[perl #43340] [TODO] config/inter/shlibs.pm: Write unit tests

2007-10-24 Thread James Keenan via RT
With tests t/configure/117-inter_shlibs-01.t and 02.t committed to trunk last night, test coverage for this package is now 100% in all relevant categories. Ticket is resolved.

Re: [PATCH] Exceptions

2007-10-24 Thread Allison Randal
Kevin Tew wrote: exceptions_ops.diff adds some simple ops needed for PDD compliance. exceptions.diff attempts to change all instances of clear_eh to pop_eh. Looks good. The exception handler stack introspection interface you added to the PDD is solid. The stack will be replaced by the

Re: [PATCH] Exceptions

2007-10-24 Thread jerry gay
On 10/24/07, Allison Randal [EMAIL PROTECTED] wrote: Kevin Tew wrote: exceptions_ops.diff adds some simple ops needed for PDD compliance. exceptions.diff attempts to change all instances of clear_eh to pop_eh. Looks good. The exception handler stack introspection interface you added to

Re: [PATCH] Exceptions

2007-10-24 Thread Allison Randal
jerry gay wrote: i'd prefer 'count_eh', to match every other exception handler related op that has an '_eh' suffix. seems silly to have just one with a 'eh_' prefix. 'count_eh' isn't distinctive enough. Another possibility is not to provide an opcode for the number of exception handlers,

[perl #46783] [TODO] [Perl] Use temporary files in smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46783] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46783 In t/tools/smartlinks.t there are many todo items which say: # TODO: this should

[perl #46785] [TODO] [Perl] Add more File-related tests to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46785] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46785 In t/tools/smartlinks.t there is the todo item in the context of testing the CFile

[perl #46787] [TODO] [Perl] Add tests of PodFile-tree to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46787] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46787 In t/tools/smartlinks.t, within the context of testing the CPodFile class there is

[perl #46789] [TODO] [Perl] Add many more tests of SpecFiles-files to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46789] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46789 In t/tools/smartlinks.t in the context of the CSpecFiles class there is the todo

[perl #46791] [TODO] [Perl] Add more tests of SpecFiles to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46791] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46791 In t/tools/smartlinks.t in the context of the CTestFile class there is the todo

[perl #46793] [TODO] [Perl] Add more tests of Test to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46793] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46793 In t/tools/smartlinks.t there is the todo item: # TODO: Test Which means: test

[perl #46795] [TODO] [Perl] Add more tests of TestInfo to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46795] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46795 In t/tools/smartlinks.t there is the todo item: # TODO: TestInfo Which means:

[perl #46797] [TODO] [Perl] Add more tests of SmartLinkServer to the smartlinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46797] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46797 In t/tools/smartlinks.t there is the todo item: # TODO: SmartLinkServer Which

[perl #46799] [TODO] [Perl] Perform end-to-end testing of SmartLinks tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46799] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46799 In t/tools/smartlinks.t there is the todo item: # TODO: end-to-end testing Which

[perl #46801] [TODO] [Perl] Test tools/util/smartlinks.pl

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46801] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46801 In t/tools/smartlinks.t there is the todo item: # TODO: main After discussion

[perl #46803] [TODO] [Perl] Improve the GC eagerness test in t/stm/basic.t

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46803] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46803 In t/stm/basic.t there is the todo item (in the context of the GC isn't too

[perl #46805] [TODO] [Perl] Add more list_* tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46805] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46805 In t/src/list.t there is the todo item: # TODO which says much in little i.e.:

[svn:parrot-pdd] r22457 - trunk/docs/pdds/draft

2007-10-24 Thread allison
Author: allison Date: Wed Oct 24 13:00:06 2007 New Revision: 22457 Modified: trunk/docs/pdds/draft/pdd19_pir.pod Log: [pdd] Round of comments on PIR PDD from KJS. Modified: trunk/docs/pdds/draft/pdd19_pir.pod == ---

Re: [svn:parrot-pdd] r22428 - trunk/docs/pdds/draft

2007-10-24 Thread Allison Randal
Klaas-Jan Stol wrote: 1. line 96 talks about the data types int, string, pmc and float. [...] Wasn't the word num standard? Yup, good catch. Probably crept in during the original edit down to just 4 types from the earlier long list. 2.a line 246, about .globalconstant, doesn't specify

[perl #46807] [TODO] [Perl] Thread types tests need rework

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46807] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46807 In t/pmc/threads.t there is the todo item: # XXX FIXME rework tests since we

[perl #46813] [TODO] [Pir] Fix 'join' issue 'sub name lookup in new thread' test

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46813] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46813 In t/pmc/threads.t there is the todo item: $P0.'join'() # XXX within the 'sub

[perl #46815] [TODO] [Perl] Test all parrot options

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46815] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46815 In t/run/options.t there is the todo item: ## TODO test remaining options Which

[perl #46817] [TODO] [Pir] Should there be a warning in a Cmain sub?

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46817] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46817 In t/pmc/sub.t there is the todo item: # This is the behavior of Parrot 0.4.3 #

[perl #46819] [TODO] [Pir] Should core PMCs emit warnings?

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46819] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46819 This ticket is related to RT#46817. In t/pmc/sub.t there is the todo item: # XXX

[perl #46821] [TODO] [Pir] Recursive calls on ResizablePMCArrays fail. Is this what we want?

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46821] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46821 In t/src/ro.t there is the todo item: # XXX: should this work? and the related

[perl #46823] [TODO] [Pir] Rewrite ResizeablePMCArray tests properly when exceptions are implemented

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46823] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46823 In t/pmc/resizeablepmcarray.t there is the todo item: # TODO: Rewrite these

Re: [perl #46823] [TODO] [Pir] Rewrite ResizeablePMCArray tests properly when exceptions are implemented

2007-10-24 Thread Paul Cochrane
On 24/10/2007, via RT Paul Cochrane [EMAIL PROTECTED] wrote: # New Ticket Created by Paul Cochrane # Please include the string: [perl #46823] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46823 In

[perl #46825] [TODO] [Pir] Fix ResizableBooleanArray Cclone test

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46825] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46825 In t/pmc/resizeablebooleanarray.t there is the todo item: TODO: { local $TODO

[perl #46827] [TODO] [Pir] Test open file, close file, delete file, reopen previously opened stream

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46827] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46827 In t/pmc/parrotio.t there is the todo item: # TODO test open file, close file,

[perl #46829] [TODO] [Pir] Clean up temporary files in t/pmc/parrotio.t

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46829] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46829 In t/pmc/parrotio.t there is the todo item: # TODO cleanup 'new_file' Which is

[perl #46831] [TODO] [Pir] Create a callback in asynchronous open and close test

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46831] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46831 In t/pmc/parrotio.t there is the todo item: $P1 = # TODO create a callback

[perl #46833] [TODO] [Pir] Test reading/writing code points once supported

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46833] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46833 In t/pmc/parrotio.t there is the todo item: # TODO test reading/writing code

[perl #46835] [TODO] [Pir] Test reading long chunks, eof, and across newlines

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46835] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46835 In t/pmc/parrotio.t there is the todo item: # TODO test reading long chunks, eof,

[perl #46837] [TODO] [Pir] Test asynchronous print, read, and readline

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46837] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46837 In t/pmc/parrotio.t there is the todo item: # TODO pir_output_is( 'CODE', 'OUT',

[perl #46839] [TODO] [Pir] Test effects of buffer_type, not just set/get

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46839] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46839 In t/pmc/parrotio.t there is the todo item: # TODO test effects of buffer_type,

[perl #46841] [TODO] [Pir] Test buffer_size in t/pmc/parrotio.t

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46841] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46841 In t/pmc/parrotio.t there is the todo item: # TODO # LPDD22/I\/O PMC API/=item

[perl #46843] [TODO] [Pir] Test get_fd in t/pmc/parrotio.t

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46843] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46843 In t/pmc/parrotio.t there is the todo item: # TODO # LPDD22/I\/O PMC API/=item

[perl #46845] [TODO] [Pir] Fix issue associated with 'setting non-existent by name' test

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46845] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46845 In t/pmc/objects.t there is a todo item which looks like it is associated with the

[perl #46847] [TODO] [Pir] Replace dummy variable with an io object in iterator tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46847] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46847 In t/pmc/io_iterator.t there are many todo items which say: $P99 = 1 # TODO

[perl #46849] [TODO] [Pir] Create helper functions to put data in an i/o pmc

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46849] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46849 In t/pmc/io_iterator.t there is the todo item: # TODO create helper functions to

[perl #46851] [TODO] [Pir] Test more return values, including end of file of Cshift

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46851] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46851 In t/pmc/io_iterator.t there is the todo item wthin the tests of the Cshift

[perl #46853] [TODO] [Pir] Setup i/o object with two lines in get_bool (vtable) test

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46853] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46853 In t/pmc/io_iterator.t there is the todo item: # TODO setup i/o object with two

[perl #46855] [TODO] [Pir] Fix test in t/pmc/fixedpmcarray.t to work with prederef of JIT

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46855] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46855 In t/pmc/fixedpmcarray.t there is the todo item: # XXX doesnt work wit prederef

[perl #46857] [TODO] [Pir] Fix smartlinks in exporter PMC tests once speced

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46857] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46857 In t/pmc/exporter.t there is the todo item: # TODO fix smartlinks once this is

[perl #46859] [TODO] [Pir] Refactor namespace getting code with make_namespace when implemented

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46859] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46859 In t/pmc/exporter.t there are todo items associated with constructing a namespace

[perl #46861] [TODO] [Pir] Test exporting mmd subs

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46861] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46861 In t/pmc/exporter.t there is the todo item: # TODO test exporting mmd subs So,

[perl #46863] [TODO] [Perl] Factor old code out into Parrot::Test::BigNum

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46863] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46863 In t/pmc/bignum.t there is the todo item: # XXX The following used to be

[perl #46865] [TODO] [Perl] Capture STDOUT when running BigNum tests

2007-10-24 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46865] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46865 In t/pmc/bignum.t there is the todo item: # XXX Capture STDOUT runtest( $_[0],

Re: [svn:parrot-pdd] r22428 - trunk/docs/pdds/draft

2007-10-24 Thread Allison Randal
Klaas-Jan Stol wrote: 2.b is the .constant directive from pasm mode (which is in the macro layer) removed? After some discussion on IRC and review: the only thing I want to change from the current way constants work is to change the name of the '.constant' macro substitution to

[perl #46869] [BUG] t/tools/ops2pmutils/: Failures in 4 test files

2007-10-24 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #46869] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46869 Friends, Within the past 24 hours changes have been committed to trunk which

Re: [perl #46869] AutoReply: [BUG] t/tools/ops2pmutils/: Failures in 4 test files

2007-10-24 Thread James E Keenan
On Oct 24, 2007, at 10:41 PM, Parrot via RT wrote: Attached is a file that begins with the tail end of the output of a run of 'perl Configure.pl --test' I was doing on Linux at r43328 about an hour ago. I mistyped. It was at r22466.

[perl #43328] [TODO] config/inter/encoding.pm: Write unit tests

2007-10-24 Thread James Keenan via RT
With a little bit of refactoring and the contribution of two test files in r22466, we have achieved 100% code coverage for inter::encoding. Resolving ticket.

Re: [perl #46869] AutoReply: [BUG] t/tools/ops2pmutils/: Failures in 4 test files

2007-10-24 Thread Will Coleda
On Oct 24, 2007, at 10:48 PM, James E Keenan wrote: On Oct 24, 2007, at 10:41 PM, Parrot via RT wrote: Attached is a file that begins with the tail end of the output of a run of 'perl Configure.pl --test' I was doing on Linux at r43328 about an hour ago. I mistyped. It was at r22466.

Re: [perl #46823] [TODO] [Pir] Rewrite ResizeablePMCArray tests properly when exceptions are implemented

2007-10-24 Thread Allison Randal
Paul Cochrane wrote: I updated the subject of this ticket to substitute PMC with * as this issue occurs more often than I first guessed (the problems one has when going through code serially...). This issue is actually more general and *any* ResizeablesomethingArray needs the

Re: [perl #46869] AutoReply: [BUG] t/tools/ops2pmutils/: Failures in 4 test files

2007-10-24 Thread Will Coleda
On Oct 24, 2007, at 11:09 PM, Will Coleda wrote: On Oct 24, 2007, at 10:48 PM, James E Keenan wrote: On Oct 24, 2007, at 10:41 PM, Parrot via RT wrote: Attached is a file that begins with the tail end of the output of a run of 'perl Configure.pl --test' I was doing on Linux at r43328