compile_p6grammar.pl man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

COMPILE_P6GRAMMAR(1)  User Contributed Perl Documentation COMPILE_P6GRAMMAR(1)

NAME
       compile_p6grammar.pl - Compile Perl 6 Grammars to Perl 5 Modules

SYNOPSIS
	   $ util/compile_p6grammar.pl examples/adder.grammar > Adder.pm
	   $ perl -MAdder -e 'print Adder->add("3 + 23")->(), "\n"'
	   $ cat examples/adder.grammar
	     grammar Adder;

	     token add {
		 (\d+) <?ws>? '+' <?ws>? (\d+) { return $/[0] + $/[1] }
	     }
	   $

OPTIONS
	   -D	   Specify the safe mode in which no action blocks are allowed
		   in the grammar spec.
	   -T	   Specify the tracing mode in which the parser generated will
		   emit tracing info to stdout.

DESCRIPTION
       Used to convert grammars in Perl 6 syntax into Perl 5 modules.

AUTHORS
       The Pugs Team <perl6-compiler@perl.org>.

SEE ALSO
       The Perl 6 Rules Spec:
       <http://dev.perl.org/perl6/doc/design/syn/S05.html>

COPYRIGHT
       Copyright 2006, 2007 by Nathan Gray and Agent Zhang
       (<agentzh@yahoo.cn>).

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

       See <http://www.perl.com/perl/misc/Artistic.html>

SEE ALSO
       "A graphical tracer for Perl 6 regexes based on PCR"
       <http://pugs.blogs.com/pugs/2007/10/a-graphical-tra.html>.

       Pugs::Compiler::Grammar, Pugs::Compiler::Rule, Pugs::Compiler::Regex,
       <http://perlcabal.org/syn/S05.html>.

perl v5.20.2			  2008-07-29		  COMPILE_P6GRAMMAR(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net