--- Luke Palmer wrote:
Andrew Savige writes:
I stumbled across a couple of interesting quote interpolation
edge cases:
Just toppled over the edge of another two sand traps.
Case 3
--
# cat q7.p6
my $x = '\\x';
print x='$x'\n;
# perl -w q7.p6
x='\x'
# pugs q7.p6
x='\\x'
Case 4
--
I'm working on enhancing Perl6::Subs[*] to support more parameter
traits than just Cis required. I have some questions about
parameters and traits. (These questions all apply to pure Perl 6,
which I know I won't be able to translate completely, but I want to
know which target I'm missing.)
*
Would this be a good time to ask for explanation for Cstr being
never Unicode, while CStr is always Unicode, thus leading to an
inability to box a non-Unicode string?
And might I also ask why in Perl 6 (if not Parrot) there seems to be
no type support for strings with known encodings which are
On Fri, 2005-03-25 at 20:49 -0800, Matt Diephouse wrote:
This patch (a) adds comments before each subroutine describing its
parameters, its return values, and what it does,
Is there a specific reason these are comments and not POD?
-- c
Chip Salzenberg writes:
I'm working on enhancing Perl6::Subs[*] to support more parameter
traits than just Cis required. I have some questions about
parameters and traits. (These questions all apply to pure Perl 6,
which I know I won't be able to translate completely, but I want to
know
chromatic skribis 2005-03-26 2:13 (-0800):
No. Please, no. :)
As I see it, Perl 6 has a chance to start over with a very small set of
core libraries -- perhaps embarrassingly small -- so as not to entomb
our current, potentially-blepharitic guesses at good Perl 6 design
principles for the
Larry Wall creates Sish28:
On Sat, Mar 26, 2005 at 02:11:29PM +0800, Autrijus Tang wrote:
: On Fri, Mar 25, 2005 at 10:03:45PM -0800, Larry Wall wrote:
: Hmm, well, if it got that far. Given strict being on by default,
: this particular example should probably just die on the fact that $
:
chromatic [EMAIL PROTECTED] wrote:
Is there a specific reason these are comments and not POD?
Because there's a large amount of POD at the beginning of the file
that targets a different audience. In this instance, I've taken POD to
be documentation for PMC writers and comments to be for anyone
On Sat, 2005-03-26 at 00:27 -0800, Larry Wall wrote:
$$ is now $*PID. ($$foo is now unambuous.)
$0 is gone in favor of $*PROGRAM_NAME or some such.
You know, Java did one thing in this respect that I liked, and managed
to do it in a way that I couldn't stand. The idea of program as object
The tcl parser (lib/parse.imc) has been removed and migrated to a method in a
PMC.
(Anyone looking for a C task could go through and cleanup the parse method in
tclparser.pmc - it's basically copied directly from the assembler style with
many gotos, no loops, etc. If you make changes, just make
On Sat, Mar 26, 2005 at 04:44:52PM +0100, Leopold Toetsch wrote:
I had a look at the generated mandel.imc. Remarkable, how compact
Parrot.hs is and what it already does.
Thanks. One of my remaining large TODOs before Pugs 6.2.0 is to
recode the evaluators in Template Haskell as
On Sat, Mar 26, 2005 at 06:49:58PM +1100, Adam Kennedy wrote:
: Er, I'm not sure you will want to--I'm using PPI's evil twin brother,
: PPD (the actual Perl parser). I've just modified it so it doesn't
: forget anything I want it to remember. (As you know, the standard
: parser throws away gobs
Chip Salzenberg wrote:
* As far as I can tell, the choice of spelling an array parameter
CArray @a or CArray $a is entirely cosmetic: both @a and
$a are capable of holding an Array reference. Is there actually
a difference, e.g. in how they handle an undefined value?
Uhm... It was my
Chip Salzenberg wrote:
Would this be a good time to ask for explanation for Cstr being
never Unicode, while CStr is always Unicode, thus leading to an
inability to box a non-Unicode string?
That's not quite it. Cstr is a forced Unicode level of Bytes, with
encoding raw, which happens to not
Larry Wall wrote:
%+ and %- are gone. $0, $1, $2, etc. are all objects that know
where they .start and .end. (Mind you, those methods return magical
positions that are Unicode level independent.)
How can you have a level independent position?
The matching itself happens at a specified level.
On Sat, Mar 26, 2005 at 09:59:10AM -0500, Aaron Sherman wrote:
: On Sat, 2005-03-26 at 00:27 -0800, Larry Wall wrote:
:
: $$ is now $*PID. ($$foo is now unambuous.)
:
: $0 is gone in favor of $*PROGRAM_NAME or some such.
:
: You know, Java did one thing in this respect that I liked, and
On Sat, 2005-03-26 at 12:48 -0800, Larry Wall wrote:
On Sat, Mar 26, 2005 at 09:59:10AM -0500, Aaron Sherman wrote:
Well, there is a process object, but it actually exists inside the
operating system. It's a little silly to force people to name their
own process all the time. I think we can
On Sat, Mar 26, 2005 at 10:13:54AM -0800, Larry Wall wrote:
The thing is that these MAD props are hung on whatever node is handy
at the time, [...]. That's the main reason for the first pass of
translator, to reattach the madprops at a more appropriate place in
the tree.
[...]
But with
According to Rod Adams:
Chip Salzenberg wrote:
* As far as I can tell, the choice of spelling an array parameter
CArray @a or CArray $a is entirely cosmetic: both @a and
$a are capable of holding an Array reference. Is there actually
a difference, e.g. in how they handle an undefined
On Mar 26, 2005, at 6:29 PM, Christopher H. Laco wrote:
Is anyone aware of any existing code (aside from YAML) for grocking
META.yml?
Why are you changing it manually?
--
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance
Andy Lester wrote:
On Mar 26, 2005, at 6:29 PM, Christopher H. Laco wrote:
Is anyone aware of any existing code (aside from YAML) for grocking
META.yml?
Why are you changing it manually?
Well, unless I missed something [likely], to add things after the module
is created or updated. Changing
On Sat, Mar 26, 2005 at 03:45:30PM -0500, Chip Salzenberg wrote:
: According to Rod Adams:
: Chip Salzenberg wrote:
: * As far as I can tell, the choice of spelling an array parameter
:CArray @a or CArray $a is entirely cosmetic: both @a and
:$a are capable of holding an Array reference.
On Sat, Mar 26, 2005 at 03:13:07AM -0700, Luke Palmer wrote:
: Chip Salzenberg writes:
: I'm working on enhancing Perl6::Subs[*] to support more parameter
: traits than just Cis required. I have some questions about
: parameters and traits. (These questions all apply to pure Perl 6,
: which
On Sat, Mar 26, 2005 at 07:52:45PM -0500, Christopher H. Laco wrote:
Well, unless I missed something [likely], to add things after the module
is created or updated. Changing requirements, recommends, and
build_requires for starters. Sometimes no_index when new modules are
added to dists.
Michael G Schwern wrote:
On Sat, Mar 26, 2005 at 07:52:45PM -0500, Christopher H. Laco wrote:
Well, unless I missed something [likely], to add things after the module
is created or updated. Changing requirements, recommends, and
build_requires for starters. Sometimes no_index when new modules
On Sat, Mar 26, 2005 at 02:37:24PM -0600, Rod Adams wrote:
: Larry Wall wrote:
:
: %+ and %- are gone. $0, $1, $2, etc. are all objects that know
: where they .start and .end. (Mind you, those methods return magical
: positions that are Unicode level independent.)
:
: How can you have a level
On Fri, Mar 25, 2005 at 07:38:10PM -, Chip Salzenberg wrote:
: Would this be a good time to ask for explanation for Cstr being
: never Unicode, while CStr is always Unicode, thus leading to an
: inability to box a non-Unicode string?
As Rod said, str is just a way of declaring a byte buffer,
On Sat, Mar 26, 2005 at 10:14:59PM -0500, Christopher H. Laco wrote:
Reading...reading...reading...reading..done.
Still doesn't help with the no_index problem, but it looks interesting.
I saw something about no_index on the module-build-general list just
recently so maybe next
LW == Larry Wall [EMAIL PROTECTED] writes:
LW As I mentioned in my other message, I think we should not assume that
LW Perl 6 works the same in this regard as Perl 5 does. There needs to be
LW something we can return that not only means (), but means also means
LW You're hosed! (And
On Thu, Mar 17, 2005 at 07:21:18PM +0100, Thomas Sandlaß wrote:
: Larry Wall wrote:
: That's actually weirdly symmetrical with the notion that only subs can
: impose compile-time context on their arguments, while methods always
: have to assume list context because you have to generate the
On Sun, Mar 27, 2005 at 12:04:39AM -0500, Uri Guttman wrote:
: LW == Larry Wall [EMAIL PROTECTED] writes:
:
: LW As I mentioned in my other message, I think we should not assume that
: LW Perl 6 works the same in this regard as Perl 5 does. There needs to be
: LW something we can return
Christopher H. Laco wrote:
Is anyone aware of any existing code (aside from YAML) for grocking
META.yml?
I've got an itch. Aside from user side software tests, I'm also somewhat
addicted to developer tests (Test::Strict, Test::Pod, etc) to make sure
I'm not making stupid typo mistakes every
32 matches
Mail list logo