أحمد محمد زواوي - Ahmad M. Zawawi > Syntax-Highlight-Perl6 > hilitep6

Download:
Syntax-Highlight-Perl6-0.88.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

hilitep6 - Command-line interface to highlight Perl 6 code

VERSION ^

version 0.88

DESCRIPTION ^

The tool uses Syntax::Highlight::Perl6 to highlight perl 6 source code into html, and ansi escape color sequences.

USAGE ^

    # read from standard input
    hilitep6

    # print ansi-escaped text for 'comp_unit'
    hilitep6 foo.pl

    # print separate html, css and javascript files
    hilitep6 --full-html=foo.full.html --clean-html foo.pl

    # print ansi-escaped text for with 'statementlist' as the top-level rule
    hilitep6 foo.pl statementlist

    # write simple html output to foo.pl.html
    hilitep6 --simple-html=foo.pl.html foo.pl

    # write simple snippet html output to foo.pl.html
    hilitep6 --snippet-html=foo.pl.html foo.pl

    # write simple ansi-colored output to STDOUT
    hilitep6 --ansi-text=- foo.pl

SEE ALSO ^

See Syntax::Highlight::Perl6

AUTHOR ^

Ahmad M. Zawawi <ahmad.zawawi@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2010 by Ahmad M. Zawawi.

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

syntax highlighting: