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
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: 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 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: 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: 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 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 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 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: 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: 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: 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 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 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: 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 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: 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: 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: 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: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 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 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 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: 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: 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: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: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: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: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: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 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 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 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 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 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 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: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 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: 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: 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: 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: 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 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 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 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 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 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: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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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 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 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 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: 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: 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: 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: 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: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 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 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 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: 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: 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: 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: 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' =&
On Fri, May 31, 2002 at 06:18:55AM +0900, Dan Kogai wrote:
> As a matter of fact GB18030 is ALREADY supported via Encode::HanExtra by
> Autrijus Tang. The only reason GB18030 was not included in Encode main
> is sheer size of the map.
Yes, partly because it was not implemented algori
it struck me as making lots of sense,
if in a rather rigid way.
Should Encode.pm probably add them to the Alias table, in the name of
'practical'? In particular, supporting CP-xxx (=> CPxxx) and ISO-646-US
(=> US-ASCII) should be rather beneficial.
/Autrijus/
msg18955/pgp0.pgp
Description: PGP signature
In Pugs, the current logic for array submatches in split() is
to stringify each element, and return them separately in the
resulting list. To wit:
pugs> split /(..)*/, 1234567890
('', '12', '34', '56', '78', '90')
Is this
an give you a committer bit in Pugs --
you can do logged PMCs in the form of IVars, or by generating more
instructions in the AST evaluation layer. The latter approach can be
reused in the Parrot code generator, too.
Thanks,
/Autrijus/
pgpGkdEQtC5qX.pgp
Description: PGP signature
2.show; # Coordinate: (10, 20)
say(($pt ~~ Point).perl); # bool:true
say(($pt ~~ Hash).perl);# bool::false
Pugs's Parrot codegen backend needs to be updated to reflect both of
them, but the basics are there. May the hackings commence. :)
Thanks,
/Autrijus/
pgpucZpT7ponX.pgp
Description: PGP signature
need to marshall the whole attribute
table and do a lookup each time by hand, which would be
slow (and non-interoperable) indeed.
Thanks,
/Autrijus/
pgpRQt7SPjRF1.pgp
Description: PGP signature
there will be for a rule option that uses P6
> syntax but P5 paren binding with "push" semantics.
Should it be an rule option, or simply an alternate way to address
the content in $/? Something like $/.flattened_matches[10], perhaps?
Thanks,
/Autrijus/
pgpoESxp72tIn.pgp
Description: PGP signature
; $_ = "foo foo"; s:P5/(\w+) \1/--$0--/; $_
'--foo--'
But it's probably unavoidable.
Thanks,
/Autrijus/
pgp7CKwIDXwVM.pgp
Description: PGP signature
is (1) or (1,2), the construct
(@foo)[0] would always means @foo.[0]. Not sure how the length of @foo
matters here.
Thanks,
/Autrijus/
pgpiDLzKqsG2b.pgp
Description: PGP signature
In a somewhat related topic:
pugs> (1,(2,3),4)[2]
4
Because the invocant to .[] assumes a Singular context.
I'm not sure how any invocant can assume a Plural context anyway,
so this behaviour seems correct. Is it, though? :)
Thanks,
/Autrijus/
pgpQf1TyWmCFa.pgp
Descript
On Wed, May 11, 2005 at 03:00:15PM -0600, Luke Palmer wrote:
> On 5/11/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> > In a somewhat related topic:
> >
> > pugs> (1,(2,3),4)[2]
> > 4
> >
> > Because the invocant to .[] assumes a Singu
On Wed, May 11, 2005 at 02:12:41PM -0700, Larry Wall wrote:
> On Thu, May 12, 2005 at 04:19:02AM +0800, Autrijus Tang wrote:
> : Hm? Under #2, no matter whether @foo is (1) or (1,2), the construct
> : (@foo)[0] would always means @foo.[0]. Not sure how the length of @foo
> :
Thanks, both yours and Shillo's tests are applied (and implemented).
/Autrijus/
pgpi79NWrtGna.pgp
Description: PGP signature
On Thu, May 12, 2005 at 12:37:06AM +0200, Fagyal Csongor wrote:
> Damian Conway wrote:
>
> >print @array[1st..($n)th];
>
> Sounds cool, but what about $n = 0; ?
Then it would be 0..-1, an empty range.
/Autrijus/
pgpRRkOMafCIK.pgp
Description: PGP signature
On Wed, May 11, 2005 at 03:00:15PM -0600, Luke Palmer wrote:
> On 5/11/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> > In a somewhat related topic:
> >
> > pugs> (1,(2,3),4)[2]
> > 4
> >
> > Because the invocant to .[] assumes a Singu
d it back to t/p6rules/*.t and included in
Parrot itself, I'd be grateful. :)
Thanks,
/Autrijus/
pgpLdNeWcYLzt.pgp
Description: PGP signature
On Thu, May 12, 2005 at 04:53:06PM +0200, "TSa (Thomas Sandlaï)" wrote:
> Autrijus Tang wrote:
> >pugs> split /(..)*/, 1234567890
> >('', '12', '34', '56', '78', '90')
> >
> >Is this sane
! :-)
Enjoy,
/Autrijus/
== Changes for 6.2.3 - May 12, 2005
=== Pugs Internals
* Pugs can now embed Parrot or use an external `parrot` executable
** Under embedded mode, Pugs is a registered Parrot compiler
** `eval_parrot` and `require_parrot` builtins for running PIR code
** `pugs -BParrot` can
ng this?
if 'localhost:80' ~~ /^(.+)\:(\d+)$/ {
my $socket = connect(~$0, +$1);
}
It looks... weird. :)
Thanks,
/Autrijus/
pgpn8chlVn4Ob.pgp
Description: PGP signature
1 - 100 of 487 matches
Mail list logo