Pugs::Runtime::Tracer.3pm

Langue: en

Autres versions - même langue

Version: 2008-07-29 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Pugs::Runtime::Tracer - tracer runtime for Pugs::Compiler::Rule

SYNOPSIS

     use Pugs::Runtime::Tracer;
     trace("blah blah blah");
     trace_begin($regex_name, $regex_pos_from, $regex_pos_to, $input_pos);
     trace_end($regex_name, $success, $input_pos);
     $perl5_code_with_tracing_code = expand_tracing_code($perl5_code);
 
 

DESCRIPTION

This module provides tracing facilities for both PCR compile-time and run-time.

SEE ALSO

*
compile_p6grammar.pl
*
``A graphical tracer for Perl 6 regexes based on PCR''

http://pugs.blogs.com/pugs/2007/10/a-graphical-tra.html <http://pugs.blogs.com/pugs/2007/10/a-graphical-tra.html>.

AUTHOR

Agent Zhang <agentzh@yahoo.cn>. Copyright 2007 by Yahoo! China Inc. <http://cn.yahoo.com>.

LICENSE

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