Author: autrijus
Date: Fri May 12 18:49:49 2006
New Revision: 9222
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Only bare keys with valid identifier names are recognized
as named arguments:
doit when => 'now';# always a named arg
doit 'when' =&
Author: autrijus
Date: Thu May 11 02:52:17 2006
New Revision: 9176
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: "but true" is now spelled as "but True"
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Tue May 2 10:46:43 2006
New Revision: 9103
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Clarify that subscripts evaluates under list context
at RHS, but scalar context at LHS. Also adds some
example code to illustrate various interactions
Author: autrijus
Date: Tue May 2 05:49:59 2006
New Revision: 9099
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Minor typographical correction, changing the
"===>" operator-lookalike to a more conventional
comment. Reported by lichtkind++
Modified: doc/trunk/desig
Author: autrijus
Date: Mon May 1 10:32:02 2006
New Revision: 9076
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03.pod: Retire lvalue undef and replace it with lvalue Whatever:
# Perl 5
(undef, undef, $x) = (1,2,3);
# Perl 6
(*, *, $x) = (1,2,3);
Modified: doc/trunk
Author: autrijus
Date: Mon May 1 09:18:16 2006
New Revision: 9071
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Add Whatever to the list of "Undefined types".
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Mon May 1 08:43:47 2006
New Revision: 9069
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Correct the perl5ish "map" example to have an extra comma.
17:44 < TimToady> audreyt: foo {...} 1,2,3 is wrong, needs a comma.
Modified: doc/trunk/de
Author: autrijus
Date: Mon May 1 01:35:22 2006
New Revision: 9052
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: The example
@array.=sort
is better written as
@array .= sort
as it's not impossible for "=sort" to be a postfix operator
on its own.
Modified: d
Author: autrijus
Date: Mon May 1 01:33:08 2006
New Revision: 9051
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: minor typo cleanup.
* S04: Document a consequence caused by the statement-terminating
end-of-line block rule:
# Without the trailing comma, this becomes a code
Author: autrijus
Date: Mon May 1 01:31:24 2006
New Revision: 9050
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: even more long dot fixes.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02
Author: autrijus
Date: Sat Apr 29 23:39:39 2006
New Revision: 9029
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: aufrank++ pointed out the quicksort example was still
using the (?$foo) form in Sigs instead of ($foo?).
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Sat Apr 29 08:27:29 2006
New Revision: 9004
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Change the section headings "Atoms" and "Molecules" to the more
descriptive "Lexical Conventions" and "Whitespace and Comments".
Author: autrijus
Date: Wed Apr 26 10:07:38 2006
New Revision: 8962
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: bump version from the unicode change; also merge in
azuroth++'s typo fix, as well as paragraph reflow.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Wed Apr 26 10:05:19 2006
New Revision: 8961
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Further note that Ps/Pe dominates BidiMirroring, so U+298D
maps to U+298E, and U+298E itself does not open brackets.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 26 09:45:43 2006
New Revision: 8958
Modified:
doc/trunk/design/syn/S02.pod
Log:
* U+201A and U+201E also have to go.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn
Author: autrijus
Date: Wed Apr 26 09:36:05 2006
New Revision: 8957
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Explicitly define how Ps/Pe and BidiMirroring
characters match, and resolve the one-to-many
open/closing mapping by preferring the lower
codepoint
Author: autrijus
Date: Wed Apr 26 07:12:51 2006
New Revision: 8953
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: particle++ noted the omission of prefix unary
= and -e -w -x etc from the operator table.
Modified: doc/trunk/design/syn/S03.pod
Author: autrijus
Date: Tue Apr 25 09:37:36 2006
New Revision: 8943
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Cleanup provisional-call text a bit, adding some more
examples, and note that method calls are never provisional
and cannot be invalidated.
Modified: doc/trunk
Author: autrijus
Date: Tue Apr 25 09:03:00 2006
New Revision: 8942
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
* S02, 03, 04, 06: Remove all occurrence of "tuple" and replace
it with
Author: autrijus
Date: Tue Apr 25 08:48:59 2006
New Revision: 8941
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Cleanups.
* There's no "$s xxx" postfix form anymore -- write "$s xx *".
* "@a === @a" is sufficient to illustrate the reference-iden
Author: autrijus
Date: Sun Apr 23 09:07:38 2006
New Revision: 8918
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: the stop-parsing-on-bare-block rule for conditionals:
if -e { say "exists" } { extra() }
has also to stop parsing on pointies:
if -e -> $x { say "
Author: autrijus
Date: Sun Apr 23 08:02:50 2006
New Revision: 8917
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: The *() form now means *($/).
* Clarified that $() etc are term-level macros.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Sat Apr 22 03:04:09 2006
New Revision: 8909
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Clarify that C<*> does not really provide list
context to its operand; rather, it injects the
operand to the currnent argument.
Modified: doc/trunk/desi
Author: autrijus
Date: Sat Apr 22 00:22:21 2006
New Revision: 8908
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Document that C and C forms are not declarators.
Modified: doc/trunk/design/syn/S03.pod
==
--- doc
Author: autrijus
Date: Fri Apr 21 08:56:22 2006
New Revision: 8899
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Oops, turns out I entirely read perlop.pod incorrectly;
"it matches once only" means "it matches successfully once only",
not "it performs the
Author: autrijus
Date: Thu Apr 20 23:49:15 2006
New Revision: 8893
Modified:
doc/trunk/design/syn/S05.pod
Log:
Stylistic cleanup of S05; no functional changes.
* s/TimToady/Larry Wall/
* Consistently change "foo" to C or I to be consistent
with context.
* Fixed the
Author: autrijus
Date: Wed Apr 19 06:01:46 2006
New Revision: 8877
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: two trivial syntax typos.
Modified: doc/trunk/design/syn/S06.pod
==
--- doc/trunk/design/syn/S06
Author: autrijus
Date: Mon Apr 17 20:39:37 2006
New Revision: 8765
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Clarified "multidimensional Capture" part by stating
that only the positional/named parts gets into *@;x, and
the invocant is exempt from it. This allows
Author: autrijus
Date: Mon Apr 17 08:52:55 2006
New Revision: 8741
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: Capture ~~ Signature can test for bindableness.
Modified: doc/trunk/design/syn/S04.pod
==
--- doc
Author: autrijus
Date: Sun Apr 16 18:24:04 2006
New Revision: 8724
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
Log:
* more typo cleanups promted by Dr. Ruud.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Sat Apr 15 06:17:49 2006
New Revision: 8698
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
Log:
* Synopses: Change "Arguments" to "Capture" to avoid using a
pl
Author: autrijus
Date: Thu Apr 6 01:29:34 2006
New Revision: 8594
Modified:
doc/trunk/design/syn/S03.pod
Log:
* More grammar nits, from Daniel Hulme
Modified: doc/trunk/design/syn/S03.pod
==
--- doc/trunk/design/syn
Author: autrijus
Date: Thu Apr 6 01:12:52 2006
New Revision: 8593
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S13.pod
Log:
* S02/S13: s/casted/cast/, as suggested by Uri.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 22:38:07 2006
New Revision: 8574
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: use sane (and valid) examples for rule_mod_internal and
rule_mod_external grammatical categories.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 22:30:44 2006
New Revision: 8573
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: fix the three places where the old form:
$x .(...)
needs to be replaced to the new form:
$x. (...)
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 22:15:15 2006
New Revision: 8572
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Grammar fixes from Uri.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 21:20:13 2006
New Revision: 8571
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Damian noted that the S02 chunk about Code object doesn't
quite make sense anymore; fixed the grammar and supplied
two examples.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Wed Apr 5 19:18:40 2006
New Revision: 8570
Modified:
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
doc/trunk/design/syn/S10.pod
doc/trunk/design/syn/S12.pod
Log:
* S04/S06/S09/S10/S12: Excise "reference"
Author: autrijus
Date: Wed Apr 5 19:08:28 2006
New Revision: 8569
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S05.pod
Log:
* S02/S05: Excise "reference" from them.
Modified: doc/trunk/design/s
Author: autrijus
Date: Wed Apr 5 18:59:00 2006
New Revision: 8568
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Excise the "reference" word; "array reference" is now
simply Array objects, and prefix * can flatten hashes
as well as arrays.
Modified:
Author: autrijus
Date: Wed Apr 5 18:36:02 2006
New Revision: 8567
Modified:
doc/trunk/design/syn/S03.pod
Log:
* Prefix sigil casters $ @ % & now joins the other prefix
unary operators, such as \ ~ + *, on the 4th level of
precedence table.
Modified: doc/trunk/design/syn/S03
Author: autrijus
Date: Mon Apr 3 15:48:30 2006
New Revision: 8555
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Make it clear that concat-means-concat for duplicated
named arguments, and that it is possible to bind a tuple
into a scalar.
sub fun (Int @x
Author: autrijus
Date: Mon Apr 3 05:47:07 2006
New Revision: 8553
Modified:
doc/trunk/design/syn/S09.pod
Log:
* S09: Leo pointed out the paragraph on autovivifiction
is still mentioning references. Replace it with modern
wording (surface semantics stays unchanged)
Modified: doc/trunk
Author: autrijus
Date: Sat Apr 1 21:18:08 2006
New Revision: 8535
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Rationalize the free mix of named and positional args.
Positional pair arguments must _always_ be put in parentheses.
Multiple named arguments with the same
Author: autrijus
Date: Sat Apr 1 20:49:18 2006
New Revision: 8534
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
Log:
* Larry (aka TimToady in the previous commit log; sorry for
spilling of IRC context) requested that "multi" should still
only default
Author: autrijus
Date: Sat Apr 1 20:46:57 2006
New Revision: 8533
Modified:
doc/trunk/design/syn/S13.pod
Log:
* S13: specify type casting in the form of
multi submethod *infix:
which usually only cares about the class of its second invocant.
Modified: doc/trunk/design/syn/S13.pod
Author: autrijus
Date: Sat Apr 1 20:10:15 2006
New Revision: 8532
Modified:
doc/trunk/design/syn/S02.pod
Log:
* upper/lowercase English nit fix for the last patch as suggested by TimToady
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Sat Apr 1 19:35:01 2006
New Revision: 8531
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: typo fix and wording cleanup from Uri Guttman.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc
Author: autrijus
Date: Sat Apr 1 14:07:20 2006
New Revision: 8529
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
doc/trunk/design/syn/S13.pod
Log:
* Bump version for the affected S06, S12 and S13.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Sat Apr 1 14:01:16 2006
New Revision: 8528
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
doc/trunk/design/syn/S13.pod
Log:
* S06+S12: Split the old "multiple-dispatch" into two distinct ideas:
- "Method call"
Author: autrijus
Date: Sat Apr 1 11:56:07 2006
New Revision: 8527
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Fix typo as reported by Joe Gottman.
Explicitly specify the rvalue-ness, interpolated-ness, and
default-to-match-object-ness of prefix sigil operators.
Modified: doc/trunk
Author: autrijus
Date: Sat Apr 1 10:44:53 2006
New Revision: 8526
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: The "call" form can now be used to call the next
MMD or SMD candidate.
A "proto" declaration needs to happen before multis.
Fi
Author: autrijus
Date: Sat Apr 1 10:43:58 2006
New Revision: 8525
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Allow user-defined dynamic exportation with EXPORT
routines, which assume the semantic from Damian's
Perl6::Export::Attrs.
The magical e
Author: autrijus
Date: Sat Apr 1 10:43:08 2006
New Revision: 8524
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: De-mystifying the logic for named arguments.
"*$x" is now just casting $x as an Arguments object.
Differ between "foo;" and "foo
Author: autrijus
Date: Sat Apr 1 10:36:25 2006
New Revision: 8523
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: $/.() is now $$/. $() still works as $$/, and we
have @() %() forms that maps to @$/ and %$/.
Modified: doc/trunk/design/syn/S05.pod
Author: autrijus
Date: Sat Apr 1 10:35:35 2006
New Revision: 8522
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: Specify "fail" semantics in detail, and the relationship
to the environmental $! variable. Handling and propagation
of "unthrown except
Author: autrijus
Date: Sat Apr 1 10:34:41 2006
New Revision: 8521
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Value-type semantics; $obj.id.true disambiguates
between prototypes and instances; user-defined value
objects has to return some builtin values as their .id.
Modified
Author: autrijus
Date: Sat Apr 1 10:32:53 2006
New Revision: 8520
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: destill the compoments of an Arguments object, and
specify the $() @() %() &() casting forms for them.
Modified: doc/trunk/design/syn/S02
Author: autrijus
Date: Fri Mar 31 07:02:49 2006
New Revision: 8511
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: note that all native types autobox to their uppercased
counterparts. Nicholas++ for asking.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Fri Mar 31 04:10:36 2006
New Revision: 8505
Modified:
doc/trunk/design/syn/S09.pod
Log:
* excise the "ref" from S09
Modified: doc/trunk/design/syn/S09.pod
==
--- doc/trunk/design/s
Author: autrijus
Date: Fri Mar 31 04:07:40 2006
New Revision: 8504
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Updated built-in classes:
- bring in "uint" from S09 (boxes to Int)
- new "Buf" class to represent subscriptable byte streams
- "Arguments&
Author: autrijus
Date: Fri Mar 31 03:21:59 2006
New Revision: 8503
Modified:
doc/trunk/design/syn/S02.pod
Log:
* upon further discussion, in the interest of optimizability,
Code/Block is now immutable and only Routine/Subroutine/Methods
are mutables.
Modified: doc/trunk/design/syn/S02
Author: autrijus
Date: Fri Mar 31 03:16:08 2006
New Revision: 8502
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Explicit division of immutable/mutable/native types.
* S02: "Int"'s bigint autopromotion must not change its underlying
type (i.e. "int" ->
Author: autrijus
Date: Fri Mar 31 03:13:46 2006
New Revision: 8501
Modified:
doc/trunk/design/syn/S06.pod
Log:
* I don't believe in a Ref type...
(\3 now just means \(3), constructing an Arguments object.)
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Sun Mar 12 05:16:44 2006
New Revision: 8123
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Patch from bsb++ to make macros hygienic by default,
with TimToady++'s idea for q:code(:COMPILING) to denote
unhygienicness.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Sun Mar 12 05:15:15 2006
New Revision: 8122
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: private methods are no longer .:meth, but !meth.
Modified: doc/trunk/design/syn/S12.pod
==
--- doc
Author: autrijus
Date: Tue Feb 28 07:22:23 2006
New Revision: 7898
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Generalizing +$/ and ~$/ delegating to $(), by stipulating
that all explicit coercion forms, except for boolean, dispatch
from Match to its result object.
Modified: doc
Author: autrijus
Date: Sun Feb 26 07:48:47 2006
New Revision: 7877
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Non-qualified variables, such as $x and &f, _always_
refers to lexicals under default strictitude, because we
can now say:
our $x; # brings from pac
Author: autrijus
Date: Sun Feb 26 07:45:08 2006
New Revision: 7876
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S05.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
doc/trunk/design/syn/S12.pod
Log:
* podchecking all the
Author: autrijus
Date: Sun Feb 26 01:35:45 2006
New Revision: 7875
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Explicit importation in q:code// from the :COMPILING scope
using the q:code(:COMPILING<$x>)// form.
* Also point out we can easily bind symbols at macro-run time,
Author: autrijus
Date: Sun Feb 26 01:32:17 2006
New Revision: 7874
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Import from pseudo-packages like GLOBAL and CALLER.
Modified: doc/trunk/design/syn/S11.pod
Author: autrijus
Date: Sat Feb 25 01:59:19 2006
New Revision: 7867
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Fix the <(...)> typo (was spelled <(...\>) and
make the moose example slightly more idiomatic.
Modified: doc/trunk/design
Author: autrijus
Date: Fri Feb 24 15:05:03 2006
New Revision: 7859
Modified:
doc/trunk/design/syn/S05.pod
Log:
* returning from within a rule sets the "result object",
which can be accessed with the .() dereferencer.
Modified: doc/trunk/design/s
Author: autrijus
Date: Fri Feb 24 14:16:49 2006
New Revision: 7858
Modified:
doc/trunk/design/syn/S09.pod
Log:
* S09: Autovivification no longer happens under rvalue context.
Suggested and contributed by Yuval Kogman.
Modified: doc/trunk/design/syn/S09.pod
Author: autrijus
Date: Fri Feb 24 12:21:45 2006
New Revision: 7853
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: The "If a curly occurs by a line by itself, then it
stands for end of statement" rule from A04 is brought
foward and further generalized -- now it only has to b
Author: autrijus
Date: Fri Feb 24 10:58:18 2006
New Revision: 7849
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S10.pod
doc/trunk/design/syn/S13.pod
Log:
* more A*->S* changes.
Modified: doc/trunk/design/syn/S06.
Author: autrijus
Date: Fri Feb 24 05:49:02 2006
New Revision: 7839
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
* Textual cleanup of S2/4/6. No functional changes.
- Change sentences like "Perl 6 will support"
Author: autrijus
Date: Thu Feb 23 17:02:39 2006
New Revision: 7831
Modified:
doc/trunk/design/syn/S11.pod
doc/trunk/design/syn/S12.pod
Log:
* S11: fix another typo. Typo`R`us.
* S12: remove the remaining "eigenclass" misnomer when it means "metaclass".
Modified: doc/
Author: autrijus
Date: Thu Feb 23 13:35:36 2006
New Revision: 7814
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11 typo fix and version bump.
Modified: doc/trunk/design/syn/S11.pod
==
--- doc/trunk/design/syn/S11
Author: autrijus
Date: Thu Feb 23 13:25:31 2006
New Revision: 7812
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Inner modules can now decalare "is export" as well;
exports are now collected with the inner ::EXPORT module,
with tagsets as inner modules within it; "us
Author: autrijus
Date: Wed Feb 22 11:01:51 2006
New Revision: 7784
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: replace the inaccurate use "eigenclass" with "metaclass"
* Also specify "$.foo" and "$.foo(...)" forms as contextful
shorthands of me
On 1/21/06, Rob Kinyon <[EMAIL PROTECTED]> wrote:
> I'm making a few assumptions here:
> 1) Since PGE isn't part of Perl6 (because it's written in PIR), it
> can be used as the parser/lexer/etc. for any language, not just Perl6.
Rules, like regexes, are essentially language neutral. So that's
On 1/21/06, Larry Wall <[EMAIL PROTECTED]> wrote:
> But maybe all this is already possible in the current setup, if
>
> role ObjectFakeHash does Hash {...}
> role Object does ObjectFakeHash {...}
> class Hash does Hash {...}
Yes, I think that's the way to go, as well as :coerce for exp
On 1/19/06, Matt Fowles <[EMAIL PROTECTED]> wrote:
> Could you provide a concrete example of the advantage of this approach
> please? Failing that can you try and expand on your gut feeling a
> bit?
May or may not be of use, but Larry's view sounds a bit like reconcilling the
(again considered ir
code variants for pretty-printing, the same way that PLT Scheme and
Haskell recognizes λ in literatures, but actually write "lambda" and
"\" respectively
in everyday coding.
TIMTOWTDI. :)
Thanks,
/Autrijus/
visually parse those
> in pairs.)
>
> Using the an infix operator's symbol as a sigil is not weird, not wrong,
> not confusing and mostly: not a new idea.
Indeed. Somehow I think this makes some sense:
sub Bool eqv (|T $x, |T $y) { ... }
Thanks,
/Autrijus/
changed S06.pod (r6201).
Thanks,
/Autrijus/
akes precedence. Is that also wrong?
/Autrijus/
m surprised to find dan-san is not a Pugs committer. I've remedied
this situation by sending you an invitation. The commit URL is the
same as the anonymous checkout svn URL.
Please commit them into the suitable examples/ subdirectory, probably
"algorithms". Also please add yoursel
rl.org/perl6/people.html
The Architecture team is comprised of:
< larry damian chip leo chromatic allison hugo luke nathan dan >
Thanks,
/Autrijus/
pgptVEZlu8p04.pgp
Description: PGP signature
On Fri, Aug 19, 2005 at 01:36:30AM +0800, Autrijus Tang wrote:
> BEGIN {
> &foo := a Sub is stub {
> ($a) := &?Internals::GETARGS();
> $a = 1 unless exists $a;
> # real body begins here
> ...
> };
> }
Er,
neccessarily exposed to the user level --
filled in by a parser rule, i.e. a predefined macro.
Does this sound sane?
Thanks,
/Autrijus/
pgpVR42LVke0G.pgp
Description: PGP signature
Which... is possible, and that's how I plan to support eval().
Thanks,
/Autrijus/
pgpWnA4i8m2hN.pgp
Description: PGP signature
On Fri, Aug 19, 2005 at 01:15:23AM +0800, Autrijus Tang wrote:
> On Thu, Aug 18, 2005 at 10:09:16AM -0700, Larry Wall wrote:
> > In other words, you could desugar
> >
> > sub foo ($a = 1) {...}
> >
> > to
> >
> > s
On Thu, Aug 18, 2005 at 10:09:16AM -0700, Larry Wall wrote:
> In other words, you could desugar
>
> sub foo ($a = 1) {...}
>
> to
>
> sub foo ($a) {
> $a = 1 unless exists $a;
> ...
> }
I like this. Can we go for it, at least for th
s a
desired feature. Which is why I think "closed" should not be
limited to classes, but should extend to packages as well...
Thanks,
/Autrijus/
pgpx5jRaNhflL.pgp
Description: PGP signature
On Thu, Aug 18, 2005 at 12:24:40PM +, Ingo Blechschmidt wrote:
> >- closures?
> A subclass of Code, e.g. Bare.
There is no Bare anymore:
Code - Routine
- Block
Thanks,
/Autrijus/
pgpyGJA7hqKo5.pgp
Description: PGP signature
ict 'types'" either on this list or hanging
> out with some pugs folks at YAPC.
You will probably get:
1. a compile time warning of unsafe coercion, possibly made fatal.
and
2. a NaN at runtime if you ignore the warning.
Thanks,
/Autrijus/
pgpHXV9csSalC.pgp
Description: PGP signature
because underline is allowed only between
> digits.
...yet Perl5 accepts them. So Perl6 is more restrictive?
(Which is good, because that's how Pugs currently implements them)
Thanks,
/Autrijus/
pgpTQGinWkn5k.pgp
Description: PGP signature
$pi = 9;
I can argue both sides -- rebindable is easier to implement, but
non-rebindable is perhaps more intuitive.
Thanks,
/Autrijus/
pgpiwWL9pRQuS.pgp
Description: PGP signature
1 - 100 of 302 matches
Mail list logo