This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat repl.pl | |
use strict; | |
use warnings; | |
while(<STDIN>) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A question regarding Perl 6 Grammars. | |
I know that Jonathan has created something called as Grammar::Tracer[He has a talk on this: http://www.jnthn.net/papers/2011-yapceu-grammars.pdf], which basically does [as he mentions in the talk] | |
a. Gives us a trace of all the various rules that our grammar calls as it tries to match. | |
b. Indicates whether the rule matched or not | |
c. When it matches, includes the string that was matched. | |
Now as far as I understand, Perl 6 programs are parsed by a grammar written in Perl 6. In other words, the Perl 6 program is the input data to the Perl 6 grammar. |
NewerOlder