Please find:
http://lith-ology.blogspot.com/2010/02/seven-days-between-parrot-and-camel.html
Lithos
Please find:
http://lith-ology.blogspot.com/2010/01/seven-days-between-parrot-and-camel_26.html
Lithos
Please find:
http://lith-ology.blogspot.com/2010/01/seven-days-between-parrot-and-camel_15.html
Lithos
Please find:
http://lith-ology.blogspot.com/2010/01/seven-days-between-parrot-and-camel.html
Lithos
Please find:
http://lith-ology.blogspot.com/2009/12/seven-days-between-parrot-and-camel_28.html
Lithos
Please find:
http://lith-ology.blogspot.com/2009/12/seven-days-between-parrot-and-camel_22.html
Lithos
Please find:
http://lith-ology.blogspot.com/2009/12/seven-days-between-parrot-and-camel_13.html
Lithos
Please find:
http://lith-ology.blogspot.com/2009/12/seven-days-between-parrot-and-camel.html
Lithos
[now CC-ing the list, d'oh!]
On Mon, Nov 23, 2009 at 4:33 PM, Geoffrey Broadwell ge...@broadwell.org wrote:
On Mon, 2009-11-23 at 01:15 +0100, Lithos wrote:
Today I posted my first attempt at summarizing Perl 6 and Parrot things at
http://lith-ology.blogspot.com/
Any comments and
Hello!
I posted my first attempt at summarizing Perl 6 and Parrot things at
http://lith-ology.blogspot.com/
Any comments and corrections welcome!
Lithos
Lithos wrote:
I posted my first attempt at summarizing Perl 6 and Parrot things at
http://lith-ology.blogspot.com/
Any comments and corrections welcome!
Looks good so far.
If you intend to do that weekly, it should be a valuable service, like the
summaries done years ago.
I also
Hello!
Today I posted my first attempt at summarizing Perl 6 and Parrot things at
http://lith-ology.blogspot.com/
Any comments and corrections welcome!
Lithos
On Mon, 2009-11-23 at 01:15 +0100, Lithos wrote:
Today I posted my first attempt at summarizing Perl 6 and Parrot things at
http://lith-ology.blogspot.com/
Any comments and corrections welcome!
This is *very* valuable to us. Please keep it up!
-'f
Matt Fowles wrote:
LuaNil Morphing
Klaas-Jan Stol proffered a patch which changed LuaNil from a singleton
and made it morph to other Lua types when asked. Warnock applies.
Actually, François Perrad applied this patch, but I think he only sent a
reply to me.
http://xrl.us/jpww
On Nov 23, 2005, at 3:06, chromatic wrote:
On Wed, 2005-11-23 at 01:39 +0100, Leopold Toetsch wrote:
But my argument was: whenever you
start introspecting a call frame, by almost whatever means, this will
keep the call frame alive[1] (see Continuation or Closure). That is:
timely destruction
On Nov 22, 2005, at 1:40, Matt Fowles wrote:
Call Frame Access
Chip began to pontificate about how one should access call frames.
Chip
suggested using a PMC, but Leo thought that would be too slow.
No, not really. It'll be slower, yes. But my argument was: whenever you
start
On Wed, 2005-11-23 at 01:39 +0100, Leopold Toetsch wrote:
But my argument was: whenever you
start introspecting a call frame, by almost whatever means, this will
keep the call frame alive[1] (see Continuation or Closure). That is:
timely destruction doesn't work for example...
Destruction
Matt Fowles [EMAIL PROTECTED] wrote:
=head3 Obsolete Win32 Exports
Michael Walter found and removed some obsolete Win32 Exports.
Jonathan Worthington applied the patch. Weren't we planning on auto
generating these?
The Plan is to mark functions that are to be exported with something that
On Oct 5, 2005, at 1:17, Matt Fowles wrote:
Here Doc in PIR
Will Coleda revived a thread from February about PIR here doc
syntax.
Looks like the syntax is ok.
Jonathan Worthington has already implemented here doc syntax.
Data::Escape::String Dislikes Unicode
Will
On Aug 23, 2005, at 3:43, Matt Fowles wrote:
Perl 6 Summary for 2005-08-15 through 2005-08-22
Java on Parrot
I vote for Jot.
That's already occupied by another language
http://en.wikipedia.org/wiki/Iota_and_Jot.
Perl 6 Language
Type Inferencing in Perl 5
Autrijus
On Mon, Aug 22, 2005 at 09:43:41PM -0400, Matt Fowles wrote:
Java on Parrot
Tim Bunce asked some preliminary questions about Java on Parrot. I
provide preliminary answers, and Nattfodd and Autrijus posted links to
related work. The important question of what it should be
On Thu, Jul 14, 2005 at 12:14:57PM -0600, John Williams wrote:
: Actually I took his question to be:
:
: If I explicitly name my invocant in the method signature, does that give
: the compiler enough assurance that I'm not going to use .method to mean
: $?SELF.method, and it will allow me to
Damian Conway wrote:
Important qualification:
Within a method or submethod, C.method only works when C$_ =:=
$?SELF.
C.method is perfectly legal on *any* topic anywhere that $?SELF
doesn't exist.
Just to be clear, this includes any method/submethod with an explicitly
named invocant,
Dave Whipp skribis 2005-07-13 8:44 (-0700):
Within a method or submethod, C.method only works when C$_ =:=
$?SELF.
C.method is perfectly legal on *any* topic anywhere that $?SELF
doesn't exist.
Just to be clear, this includes any method/submethod with an explicitly
named invocant, I
Matt Fowles summarized:
Method Call on Invocant
Now ./method is gone, and .method only works when $_ =:= $?SELF .
Important qualification:
Within a method or submethod, C.method only works when C$_ =:= $?SELF.
C.method is perfectly legal on *any*
On Tue, Jun 28, 2005 at 08:11:24PM -0400, Matt Fowles wrote:
Parrot Loses with Fedora Core 4
Patrick reported that Fedora Core 4 and Parrot don't get along well. Leo
suggested a possible solution. No response from Patrick.
An update:
Patrick submitted a patch based on Leo's
Thank you for the summary, Matt
I have a correction, though:
subrules tests
Dino Morelli provided a patch adding tests for subrules to PGE. Warnock
applies.
http://xrl.us/f955
This and my other two patches to p6rules tests (RT #35950, 35971, 35994)
have not yet been applied.
On Tue, May 31, 2005 at 11:58:12PM -0400, Dino Morelli wrote:
Thank you for the summary, Matt
I have a correction, though:
subrules tests
Dino Morelli provided a patch adding tests for subrules to PGE. Warnock
applies.
http://xrl.us/f955
This and my other two patches
The Perl 6 Summary for the week ending 2005-05-24
Note to self: It's generally not a good idea to go installing Tiger on
the day you return from holiday. It's especially not a good idea to fail
to check that it didn't completely and utterly radish your Postfix
configuration
On Tue, 3 May 2005, Matt Fowles wrote:
Perl 6 Summary for 2004-04-26 through 2005-05-03
^^
^^
Wow!
Michele
--
Why should I read the fucking manual? I know how to fuck!
In fact the problem is that the fucking manual only gives you
On Tue, 19 Apr 2005, Matt Fowles wrote:
Python on Parrot
^^
Kevin Tew wondered what the state of pyrate was. Sam Ruby provided a
general explanation.
(I'm not on all of the lists, so this may have come out before and I
[EMAIL PROTECTED] wrote:
pugs too lazy
Miroslav Silovic noticed that closing a file handle in pugs did not
force all the thunks associated with the file. While this was a bug in
pugs, it led to conversation about whether = should be lazy or eager.
Larry thinks that it will be safer
On Wed, 9 Feb 2005, Larry Wall wrote:
roadblocks thrown in their way. That's true not only for LP, but
also for FP, MP, XP, AOP, DBC, and hopefully several other varieties
^^ ^^^
^^ ^^^
1. 2.
Ehmmm... sorry for the ignorance, but...
1.
MD == Michele Dondi [EMAIL PROTECTED] writes:
MD On Wed, 9 Feb 2005, Larry Wall wrote:
roadblocks thrown in their way. That's true not only for LP, but
also for FP, MP, XP, AOP, DBC, and hopefully several other varieties
MD ^^ ^^^
MD ^^ ^^^
John Macdonald wrote:
The basic problem is that a junction does not work well with
boolean operations, because the answer is usually sometimes
yes and sometimes no and until you resolve which of those is
the one you want, you have to proceed with both conditions.
Well, just patch the boolean
Uri Guttman wrote:
[...]
i think so but i can't read larry's mind (nor would i want to! :)
XP = extreme programming
DBC = design by contract (or even designed by conway :)
MP = ??
Modular Programming
David
Aaron Sherman wrote:
So hold on to your socks... what about:
@x @y;
This reminds me of AWK's string concatenation behaviour:
print this $1 that $2
This was nice feature at the time, but caused problems down the track
when they wanted to add functions to the language in a subsequent
[EMAIL PROTECTED] wrote:
i think so but i can't read larry's mind (nor would i want to! :)
XP = extreme programming
DBC = design by contract (or even designed by conway :)
MP = ??
Modular Programming
David
I think it's Metaprogramming. :)
Miro
On Thu, Feb 10, 2005 at 12:32:21PM +0100, Miroslav Silovic wrote:
: [EMAIL PROTECTED] wrote:
:
: i think so but i can't read larry's mind (nor would i want to! :)
:
: XP = extreme programming
: DBC = design by contract (or even designed by conway :)
: MP = ??
:
:
: Modular
On Tue, 8 Feb 2005, Matt Fowles wrote:
pipe dreams
Juerd wondered if he could mix = and == in a sane way. The answer
appears to be no. Once you bring in == you should stick with it.
Huh?!? It doesn't seem to me that the answer is 'no'. In fact C ==
is supposed to be yet another operator,
Michele Dondi wrote:
On Tue, 8 Feb 2005, Matt Fowles wrote:
pipe dreams
Juerd wondered if he could mix = and == in a sane way. The answer
appears to be no. Once you bring in == you should stick with it.
Huh?!? It doesn't seem to me that the answer is 'no'. In fact C ==
is supposed to be
On Wed, Feb 09, 2005 at 10:04:48AM +0100, Michele Dondi wrote:
: On Tue, 8 Feb 2005, Matt Fowles wrote:
:
: pipe dreams
:Juerd wondered if he could mix = and == in a sane way. The answer
:appears to be no. Once you bring in == you should stick with it.
:
: Huh?!? It doesn't seem to me
On Wed, 9 Feb 2005, Larry Wall wrote:
Yes, you can certainly intermix them as long as you keep your
precedence straight with parentheses. Though I suppose we could go
as far as to say that = is only scalar assignment, and you have to
use == or == for list assignment. That would
Larry Wall wrote:
On Wed, Feb 09, 2005 at 10:04:48AM +0100, Michele Dondi wrote:
: On Tue, 8 Feb 2005, Matt Fowles wrote:
:
: pipe dreams
:Juerd wondered if he could mix = and == in a sane way. The answer
:appears to be no. Once you bring in == you should stick with it.
:
: Huh?!? It
On Wed, 2005-02-09 at 06:04, Rod Adams wrote:
Larry Wall wrote:
Yes, you can certainly intermix them as long as you keep your
precedence straight with parentheses. Though I suppose we could go
as far as to say that = is only scalar assignment, and you have to
use == or == for list
--- Matt Fowles [EMAIL PROTECTED] wrote:
Logic Programming in Perl 6
Ovid asked what logic programming in perl 6 would look like. No
answer
yet, but I suppose I can pick the low hanging fruit: as a
limiting case
you could always back out the entire perl 6 grammar and insert
On Wed, Feb 09, 2005 at 11:57:17AM -0800, Ovid wrote:
: --- Matt Fowles [EMAIL PROTECTED] wrote:
:
: Logic Programming in Perl 6
: Ovid asked what logic programming in perl 6 would look like. No
: answer
: yet, but I suppose I can pick the low hanging fruit: as a
: limiting case
:
On Wed, Feb 09, 2005 at 11:57:17AM -0800, Ovid wrote:
--- Matt Fowles [EMAIL PROTECTED] wrote:
Logic Programming in Perl 6
Ovid asked what logic programming in perl 6 would look like. No
answer
yet, but I suppose I can pick the low hanging fruit: as a
limiting case
On Tue, Jan 18, 2005 at 10:43:00PM -0700, Luke Palmer wrote:
Oh, I thought I replied, but now that I look over the question I guess I
didn't. The question was:
Austin Hasting writes:
How do I concisely code a loop that reads in lines of a file, then
calls mysub() on each letter in each
Luke Palmer wrote:
Austin Hasting writes:
How do I concisely code a loop that reads in lines of a file, then
calls mysub() on each letter in each line?
Or each xml tag on the line?
And I guess the answer is the same as in Perl 5. I don't understand
what the problem is with Perl 5's
Austin Hastings writes:
Luke Palmer wrote:
Austin Hasting writes:
How do I concisely code a loop that reads in lines of a file, then
calls mysub() on each letter in each line?
Or each xml tag on the line?
And I guess the answer is the same as in Perl 5. I don't understand
Matt Fowles wrote:
Perl 6 Summary for 2004-12-20 through 2005-01-03
All~
Welcome to a New Year of Perl 6 Summaries. I have been doing bi-weekly
summaries over the holiday season, but I plan on returning to weekly
ones now. Hopefully World of Warcraft won't prevent me, we shall see
Matt Fowles wrote:
Perl 6 Summary for 2004-12-20 through 2005-01-03
s/conses/consensus/g ?
Austin Hastings [EMAIL PROTECTED] writes:
s/conses/consensus/g ?
I assumed it was a Lisp reference. ;-)
Jon
--- Jon Ericson [EMAIL PROTECTED] wrote:
Austin Hastings [EMAIL PROTECTED] writes:
s/conses/consensus/g ?
I assumed it was a Lisp reference. ;-)
contheth?
(No, I'm not really *quite* that clueless.)
Cheers,
Ovid
=
Silence is Evil
On Mon, Dec 20, 2004 at 09:52:32PM -0500, Matt Fowles wrote:
: Much churning went on and it seems that multiple different
: (but identically named) rule captures can now be performed by adding
: information after a dash ala ws-1 ws-2 ws-3.
Actually, much churning is still going on in
On Dec 6, 2004, at 6:27 PM, Matt Fowles wrote:
getters and setters
John Siracusa wanted to know if Perl 6 would allow one to expose a
member variable to the outside world, but then later intercept
assignments to it without actually having to switch to using
getters and
setters
Matt Fowles skribis 2004-11-29 22:22 (-0500):
Juerd suggested scrapping qx and qw in favor of qq:x and qq:w, which
Larry liked.
Credit for this shouldn't be mine, but Larry's, as it's his invention:
[EMAIL PROTECTED]
Juerd
-Original Message-
From: Matt Fowles [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:27 PM
To: [EMAIL PROTECTED]; Perl 6 Internals List; perl6-
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Perl 6 Summary for 2004-11-08 through 2004-11-15
Perl 6 Summary for 2004-11
At 10:39 PM -0500 11/8/04, Matt Fowles wrote:
calling convenctions, traceback, and register allocation
Leo suggested a new way to invoke functions which would clean up
calling, tracebacks, and register allocation. While such a change would
have great aesthetic value, Dan declared it
Aaron Sherman writes:
The current syntax for what you're
trying to write is:
/ab(c|b) ($1 eq 'c')/
which is equivalent to
/ab(c|b) {fail unless $1 eq 'c'}/
Now, what does fail mean? I can think of two definitions:
1. proceed to trap state (backtracking then
On Wed, 2004-10-27 at 14:01, Luke Palmer wrote:
Aaron Sherman writes:
/ab(c|b) {fail unless $1 eq 'c'}/
Now, what does fail mean? I can think of two definitions:
1. proceed to trap state (backtracking then happens)
2. exit (probably using an exception) the rule?
The
Larry Wall wrote:
I suppose if I were Archimedes I'd have climbed
back out and shouted Eureka, but as far as I know Archimedes never
made it to Italy, so it didn't occur to me...
well, Archimedes *was* italian. for some meaning of italian, at least.
he was born in Syracuse (the one in Sicily, not
Larry Wall wrote:
On Tue, Oct 19, 2004 at 09:35:27PM +0100, Matthew Walton wrote:
: Austin Hastings wrote:
: Does this mean that we're done? :)
:
: No, it means Larry's about to stun us with something seemingly bizarre
: and inexplicable which turns out to be a stroke of genius.
The only
On Mon, 25 Oct 2004, Larry Wall wrote:
: No, it means Larry's about to stun us with something seemingly bizarre
: and inexplicable which turns out to be a stroke of genius.
The only bizarre and inexplicable thing that has occurred to me in the
last week is that I fell into a canal in Venice. It
On Tue, 2004-10-26 at 05:17, Matthew Walton wrote:
Also, climbing back out and shouting 'Eureka' would only really be
appropriate if you actually had experienced a moment of revelation about
something. I suspect you were too busy with the not drowning part for that.
Well, such moments of
Aldo Calpini [EMAIL PROTECTED] writes:
Larry Wall wrote:
I suppose if I were Archimedes I'd have climbed
back out and shouted Eureka, but as far as I know Archimedes never
made it to Italy, so it didn't occur to me...
well, Archimedes *was* italian. for some meaning of italian, at least.
On Tue, Oct 26, 2004 at 01:42:02PM -0400, Aaron Sherman wrote:
: Larry, while you're feeling chatty, I have a question about Perl 6
: regular expressions for you. You answered a question of mine, long ago
: with a correction. I had said something like:
:
: /ab(c|b){$1 eq 'c'}/
:
: If I
On Tue, 2004-10-26 at 20:16, Larry Wall wrote:
On Tue, Oct 26, 2004 at 01:42:02PM -0400, Aaron Sherman wrote:
: /ab(c|b){$1 eq 'c'}/
:
: If I recall correctly you had said something like, there is no plan
: (yet) to allow embedded closures to affect matching directly, other than
:
On Tue, Oct 19, 2004 at 09:35:27PM +0100, Matthew Walton wrote:
: Austin Hastings wrote:
: Does this mean that we're done? :)
:
: No, it means Larry's about to stun us with something seemingly bizarre
: and inexplicable which turns out to be a stroke of genius.
The only bizarre and
LW == Larry Wall [EMAIL PROTECTED] writes:
LW The only bizarre and inexplicable thing that has occurred to me in
LW the last week is that I fell into a canal in Venice. It was
LW definitely somewhat stunning, but I have yet to figure out how to
LW view it as a stroke of genius. I
On Tue, 19 Oct 2004, Austin Hastings wrote:
Yes: no traffic at all for quite a while...
Does this mean that we're done? :)
By any means... I don't think so! I wonder if this could in any way
support what occasionally trolls claim e.g. in clpmisc, i.e. that the Perl
community is devoted to the
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Matthew Walton) writes:
Austin Hastings wrote:
Does this mean that we're done? :)
No, it means Larry's about to stun us with something seemingly bizarre
and inexplicable which turns out to be a stroke of genius.
This conjured up an image of
On Sun, 17 Oct 2004, Matt Fowles wrote:
Google groups has nothing for Perl6.language between October 2 and 14.
Is this really the case? (I had not signed up until shortly before
Yes: no traffic at all for quite a while...
Michele
--
Except people don't actually read the documentation, and when
Michele Dondi wrote:
On Sun, 17 Oct 2004, Matt Fowles wrote:
Google groups has nothing for Perl6.language between October 2 and 14.
Is this really the case? (I had not signed up until shortly before
Yes: no traffic at all for quite a while...
Does this mean that we're done? :)
Austin Hastings wrote:
Michele Dondi wrote:
On Sun, 17 Oct 2004, Matt Fowles wrote:
Google groups has nothing for Perl6.language between October 2 and 14.
Is this really the case? (I had not signed up until shortly before
Yes: no traffic at all for quite a while...
Does this mean that we're
--- Matt Fowles [EMAIL PROTECTED] wrote:
Joshua Gatcomb accidentally introduced a dependency
on
Config::IniFiles. Since it is implemented in pure
perl he offered to
add it to the repository. Warnock applies.
http://xrl.us/div3
In the note offering to fix it, I also listed numerous
The Perl 6 Summary for the week ending 20030831
Welcome to this week's Perl 6 summary. This week, for one week only I'm
going to break with a long established summary tradition. No, that
doesn't mean I won't be mentioning Leon Brocard this week. Nope, this
week we're going to start
The Perl 6 Summary for the week ending 20030824
Another week, another Perl 6 summary. I'm running late writing this and
I don't care because I spent the bank holiday weekend at a folk festival
and didn't get back 'til Monday evening.
Predictably enough, we'll start
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 18 August 2003 10:29 am, Piers Cawley wrote:
Packfile fun
So long assemble.pl, it's been good to know you.
http://xrl.us/puu
Google gives me an error on this:
Unable to find thread. Please recheck the URL.
-BEGIN PGP
Perl 6 Summary for the week ending 20030817
Picture, if you will, a sunny garden unaffected by power cuts, floods,
plagues of frog or any of the other troubles that assail us in this
modern world. Picture, if you will, your summarizer sat in this garden
with a laptop on his knee
Piers,
Regarding your Perl6 Essentials summary:
Or, he can write code for IMCC using Parrot Intermediate Language (known
as PIR for reasons that aren't entirely clear even to one who has been
watching the mailing list since the Parrot project started)
I suppose noone has much read the README
MS == Melvin Smith [EMAIL PROTECTED] writes:
MS I suppose I could have provided some more explanation (I haven't
MS read the book yet) but as the original author of IMCC PIR, I
MS wasn't even contacted out of courtesy to write the chapter and was
MS informed after the book was finished.
Uri Guttman wrote:
MS == Melvin Smith [EMAIL PROTECTED] writes:
MS This has been a major stumbling block for me in getting back the
MS motivation to help with Parrot again.
so if that helps salve your wound, i am sure you contributions (past and
future) to parrot are welcomed and appreciated
Robin Berjon [EMAIL PROTECTED] writes:
Uri Guttman wrote:
MS == Melvin Smith [EMAIL PROTECTED] writes:
MS This has been a major stumbling block for me in getting back
the MS motivation to help with Parrot again.
so if that helps salve your wound, i am sure you contributions (past
and
Perl 6 Summary for the week ending 20030703
Ooh look, it's another Perl 6 summary. Doesn't that man ever take a
holiday?
I think he took one last month.
Is it in Esperanto this week?
I don't think so.
Does Leon Brocard get a mention?
It certainly looks that way
Perl 6 Summary for the week ending 20030727
Welcome to another in the ongoing series of Perl 6 summaries in which
your faintly frazzled summarizer attempts to find a native speaker of
Esperanto to translate this opening paragraph in honour of the huge
amount of money (1371 Euros
Piers Cawley [EMAIL PROTECTED] wrote:
Okay, okay, PONIE really stands for 'Perl On New Internal Engine'.
That's that what they say. Actually it was: PONIEPONIE:
Perl5 Obsoletes Nasty Internals Entirely:
Parrot Occupies Numerous Interpreters Everywhere
But that was to bulky. Or too many
Luke Palmer wrote:
grammar Grammars::Languages::C::Preprocessor {
rule CompilationUnit {
( Directive | UnprocessedStuff )*
}
rule Directive {
Hash ( Include
| Line
| Conditional
| Define
) Continuation*
}
rule
We're not quite in the world of ACME::DWIM, so you can't just replace
the important stuff with ... . :-)
Maybe, but the C preprocessor isn't important, here, for itself. Otherwise I
could cheat:
grammar Grammar::Language::C::Preprocessor {
rule CompilationUnit {
FIRST { static
Perl 6 Summary for the week ending 20030720
Welcome back to an interim Perl 6 Summary, falling as it does between
two conference weeks; OSCON and YAPC::Europe. For reasons involving
insanity, a EuroStar ticket going begging, and undeserved generosity I
shall be bringing my
Piers Cawley [EMAIL PROTECTED] wrote
Parsers with Pre-processors
I didn't quite understand what Dave Whipp was driving at when he
talked
about overloading the ws pattern as a way of doing preprocessing
of
Perl 6 patterns. I didn't understand Luke Palmer's answer either.
Help.
--- Dave Whipp [EMAIL PROTECTED] wrote:
Piers Cawley [EMAIL PROTECTED] wrote
Parsers with Pre-processors
I didn't quite understand what Dave Whipp was driving at when
he talked about overloading the ws pattern as a way of doing
preprocessing of Perl 6 patterns. I didn't understand Luke
On Mon, Jul 21, 2003 at 12:19:11PM -0700, Austin Hastings wrote:
Likewise:
my $fh = open perl.1.gz;
$fh =~ /Grammars::Languages::Runoff::Nroff(input_method
= Grammars::Languages::Runoff::tbl(input_method
= Grammars::Language::Runoff::eqn(input_method
=
Austin Hastings [EMAIL PROTECTED] wrote:
What you really want is to be able to chain grammars:
my $fh = open hello.c;
$fh =~ /Grammars::Languages::C/;
grammar Grammars::Languages::C {
method init {
SUPER::init;
$.source = (new
--- David Storrs [EMAIL PROTECTED] wrote:
On Mon, Jul 21, 2003 at 12:19:11PM -0700, Austin Hastings wrote:
Likewise:
my $fh = open perl.1.gz;
$fh =~ /Grammars::Languages::Runoff::Nroff(input_method
= Grammars::Languages::Runoff::tbl(input_method
=
--- Dave Whipp [EMAIL PROTECTED] wrote:
Austin Hastings [EMAIL PROTECTED] wrote:
$.source = (new
Grammars::Language::C::Preprocessor).open($source);
I find myself wondering if this is covered by the P6 equiv of
TieHandle.
I.e. is it just an input stream filter?
Doubtful.
Do you
Austin Hastings [EMAIL PROTECTED]
I.e. is it just an input stream filter?
Doubtful.
Do you want to do this at the grammar level, or the file level?
If you want it at the file level, you Ctie a translator (ooh! my
first p6 idiom!) to the file handle.
If you want it at the grammar level
grammar Grammars::Languages::C::Preprocessor {
rule CompilationUnit {
( Directive | UnprocessedStuff )*
}
rule Directive {
Hash ( Include
| Line
| Conditional
| Define
) Continuation*
}
rule Hash { /^\s*#\s*/ }
rule
The Perl 6 Summary for the week ending 20030615
Welcome to the last Perl 6 Summary of my first year of summarizing. If I
were a better writer (or if I weren't listening with half an ear to
Damian telling YAPC about Perl 6 in case anything's changed) then this
summary might well
1 - 100 of 165 matches
Mail list logo