On Thursday 07 August 2008 23:50:54 [EMAIL PROTECTED] wrote:
Add a return continuation attribute to the Exception pmc and fill it in the
throw opcode.
Modified: trunk/src/ops/core.ops
===
=== --- trunk/src/ops/core.ops
Seek the wisdom of the Perl Monks at www.perlmonks.org.
Short answer: http://perldoc.perl.org/functions/-X.html
-M gives the file age.
--John
Tara taralish-at-yahoo.com |Perl 6| wrote:
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt,
Xavier Noria fxn-at-hashref.com |Perl 6| wrote:
IMO to include something related to infinity you need to stick with
some particular model and forget the rest.
I couldn't have said it any better.
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
Could we get confirmation for that from @Larry. I remember $Larry
mentioning that Num fails over to Rat or so when necessary. IOW,
does
my Rat $rat = 1/3; # assuming infix:/ returns a Rat
my Num $num = 1/3;
my Rat $diff = abs($rat -
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
HaloO,
[EMAIL PROTECTED] wrote:
Let's just make sure we're handling inf and -inf right and leave all
that other stuff until later.
The point is: what is the minimum we need to be future proof
and compatible to other language features.
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
HaloO,
John M. Dlugosz wrote:
See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html
Nice write-up! You say that there's no syntax for refering to a multi
as a whole. But is that not simply the short name? E.g. infix:+ is
the
On Wed Jul 09 10:48:19 2008, [EMAIL PROTECTED] wrote:
I found a small piece of code that reproduces the Null PMC access in
type() error:
sub f(Int $n){
if ($n = 0 ){
f($n-1);
}
}
f(0);
produces the above error on parrot + rakudo r29207, Debian GNU Linux
i386 32bit.
On Tue Jul 15 04:12:36 2008, [EMAIL PROTECTED] wrote:
Rakudo r29470:
$ ../../parrot perl6.pbc -e 'say (1+1).WHAT'
Num
$ ../../parrot perl6.pbc -e 'say (1*1).WHAT'
Num
$ ../../parrot perl6.pbc -e 'say (1**1).WHAT'
Num
All of these should print Int instead.
And they do as of r30092.
On Thu, Aug 7, 2008 at 11:29 AM, [EMAIL PROTECTED] wrote:
Supporting multiple levels of infinities, transfinite numbers or even Surreal
Numbers should be considered in the same category of features as returning
multiple answers from complex trig functions.
They're an interesting thing to
Hi,
On Fri May 23 14:26:47 2008, [EMAIL PROTECTED] wrote:
a simple
say 6;
throws
Null PMC access in isa()
current instr.: 'parrot;Perl6Object;make_proto' pc 58
(src/gen_builtins.pir:81)
called from Sub 'parrot;Perl6Str;onload' pc 1181
(src/gen_builtins.pir:804)
called from Sub
# New Ticket Created by Ron Schmidt
# Please include the string: [perl #57722]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57722
Index: src/builtins/any-str.pir
On Sun Jun 29 14:06:44 2008, pmichaud wrote:
On Wed Jun 18 09:38:09 2008, [EMAIL PROTECTED] wrote:
A test in spectest_regression failed, It was in S02-polymorphic_types:
I'm running on Win32 (XP SP2), parrot/perl6 was built with Visual
Studio 9
Express and Activestate 5.8
On Sun Jul 06 10:13:15 2008, jhorwitz wrote:
excellent, this fixes my problem. do we want to close out this ticket
and
let RT #47956 handle the rest, or are there still some lingering
issues to
address with :instanceof?
Maybe, but we're not using it for the moment and there's some larger
On Tue Jul 29 11:27:34 2008, [EMAIL PROTECTED] wrote:
Hi there, declaring classes in other namespaces except the toplevel
one results in emtpy classes (revision 29850).
This code:
class Foo::Bar { method foo {} }
my $b = Foo::Bar.new;
$b.foo;
Gives this stacktrace
Method 'foo'
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #57740]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57740
r30120:
$ ./perl6 -e 'my $s = hi; $s = $s.uc' # works
$ ./perl6 -e 'my $s = hi;
On Thu, Aug 7, 2008 at 9:38 AM, Tara [EMAIL PROTECTED] wrote:
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt, interact with the user and copy files
from one location to other directories. Does anyone know how to dir
the files in a
Thank you very much!
my $bill =
try ack() orelse
try thpp() orelse
do ppt();
This certainly does what I asked for, and it's short enough (even if we
need to add a few brackets).
Yes, the basic problem with the proposal is that it catches all
exceptions willy nilly and
On Sun Jul 27 08:27:18 2008, masak wrote:
From S06 http://dev.perl.org/perl6/doc/design/syn/S06.html:
] {...} is always a block. However, if it is completely empty or
consists
] of a single list, the first element of which is either a hash or a
pair, it
] is executed immediately to compose
Wasn't able to build parrot for smoke testing. This was using the MS
Visual C++ compiler.
src\ops\core_ops.c
src\ops\core.ops(821) : error C2275: 'opcode_t' : illegal use of this
type as an
expression
C:\work\parrot\include\parrot/config.h(128) : see declaration of
'opcode
_t'
On Fri, Aug 8, 2008 at 9:12 AM, chromatic [EMAIL PROTECTED] wrote:
On Thursday 07 August 2008 23:50:54 [EMAIL PROTECTED] wrote:
Add a return continuation attribute to the Exception pmc and fill it in the
throw opcode.
Modified: trunk/src/ops/core.ops
On Fri, Aug 8, 2008 at 2:16 PM, Tim Heckman [EMAIL PROTECTED] wrote:
Wasn't able to build parrot for smoke testing. This was using the MS Visual
C++ compiler.
src\ops\core_ops.c
src\ops\core.ops(821) : error C2275: 'opcode_t' : illegal use of this type
as an
expression
Please try again
I was trying to figure out exactly how Captures manage to stay invisible even
though functions return them, yet still let you use Capture objects when you
want to. Please see my conclusions at
http://www.dlugosz.com/Perl6/web/return.html. The Summary at the very bottom
clarifies the
On Thu, Aug 7, 2008 at 11:31 AM, Will Coleda [EMAIL PROTECTED] wrote:
On Thu, Aug 7, 2008 at 11:29 AM, [EMAIL PROTECTED] wrote:
Supporting multiple levels of infinities, transfinite numbers or even
Surreal Numbers should be considered in the same category of features as
returning multiple
Author: larry
Date: Fri Aug 8 07:59:12 2008
New Revision: 14573
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S13.pod
Log:
clarify that foo is a real function even when representing a multiple dispatch
s/q:code/quasi/
Modified:
HaloO
John M. Dlugosz wrote:
I was trying to figure out exactly how Captures manage to stay invisible
even though functions return them, yet still let you use Capture objects
when you want to. Please see my conclusions at
http://www.dlugosz.com/Perl6/web/return.html. The Summary at the very
HaloO,
Yaakov Belch wrote:
I believe that ---from a usability point of view--- it's very important to:
* classify exceptions by severity or other characteristics,
* provide named adverbs/pragmas to modify default CATCH handlers,
* make them configurable by outer scopes.
[..]
The programmer
On 2008 Aug 8, at 10:59, [EMAIL PROTECTED] wrote:
Modified: doc/trunk/design/syn/S06.pod
=
=
=
=
=
=
=
=
==
--- doc/trunk/design/syn/S06.pod(original)
+++ doc/trunk/design/syn/S06.podFri Aug 8 07:59:12 2008
@@
Author: larry
Date: Fri Aug 8 10:34:49 2008
New Revision: 14574
Modified:
doc/trunk/design/syn/S02.pod
Log:
allow isolated ' and - in identifiers (only if followed by alpha)
Modified: doc/trunk/design/syn/S02.pod
On Fri, Aug 08, 2008 at 10:34:50AM -0700, [EMAIL PROTECTED] wrote:
: Author: larry
: Date: Fri Aug 8 10:34:49 2008
: New Revision: 14574
:
: Modified:
:doc/trunk/design/syn/S02.pod
:
: Log:
: allow isolated ' and - in identifiers (only if followed by alpha)
Darn the syntax highlighers,
But are 'twas and -x valid identifiers? IMHO, they should not be.
--
Jonathan Dataweaver Lang
On Fri, Aug 8, 2008 at 12:57 PM, Jon Lang [EMAIL PROTECTED] wrote:
But are 'twas and -x valid identifiers? IMHO, they should not be.
no, indeed they are not, because they don't start with underscore or
alpha. that's why they won't work.
~jerry
On Thu, Aug 07, 2008 at 10:15:24AM -0400, Will Coleda wrote:
Now, if the problem is that the register allocator is broken, then
let's fix the register allocator. If :unique_reg is just a workaround
because fixing it is hard, let's document it as deprecated with the
expectation that it will be
Don't forget I still have edits posted at
http://www.dlugosz.com/Perl6/offerings/.
larry-at-cvs.perl.org |Perl 6| wrote:
Author: larry
Date: Fri Aug 8 07:59:12 2008
New Revision: 14573
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S13.pod
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
If such a ReturnCapture could also be
preliminary of some kind, then lvalue subs could be lazily resumed when
the rvalue comes in.
Can you elaborate on that? I don't follow.
Also infix:/ needs a lazy item that is collapsed
into Int, Num or
How is @array[*-2] supposed to be implemented?
S09v28
// reported again 8-Aug-2008
Is this magic known to the parser at a low level, or is it possible to define
your own postcircumfix operators that interact with the interpretation of the
argument?
Does this use of * apply to any
What is the difference between (1,2,3) and [1,2,3] ?
--John
Why is 3;3;3 a list of captures rather than a list of lists?
--John
On 2008 Aug 8, at 22:53, John M. Dlugosz wrote:
What is the difference between (1,2,3) and [1,2,3] ?
IIRC one is a list, the other a reference to a list --- which in perl6
will be hidden for the most part. so practically speaking the
difference is minimal.
--
brandon s. allbery
On 2008 Aug 8, at 23:06, John M. Dlugosz wrote:
Why is 3;3;3 a list of captures rather than a list of lists?
IIRC it has to do with providing enough information for slices and/or
* to work in multiple dimensions.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL
Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote:
On 2008 Aug 8, at 23:06, John M. Dlugosz wrote:
Why is 3;3;3 a list of captures rather than a list of lists?
IIRC it has to do with providing enough information for slices and/or *
to work in multiple dimensions.
So how
On Fri, Aug 8, 2008 at 7:41 PM, John M. Dlugosz
[EMAIL PROTECTED] wrote:
How is @array[*-2] supposed to be implemented?
S09v28
// reported again 8-Aug-2008
Is this magic known to the parser at a low level, or is it possible to
define your own postcircumfix operators that interact with the
41 matches
Mail list logo