1HILITEP6(1) User Contributed Perl Documentation HILITEP6(1)
2
3
4
6 hilitep6 - command-line interface to highlight Perl 6 code
7
9 # read from standard input
10 hilitep6
11
12 # print ansi-escaped text for 'comp_unit'
13 hilitep6 foo.pl
14
15 # print separate html, css and javascript files
16 hilitep6 --full-html=foo.full.html --clean-html foo.pl
17
18 # print ansi-escaped text for with 'statementlist' as the top-level rule
19 hilitep6 foo.pl statementlist
20
21 # write simple html output to foo.pl.html
22 hilitep6 --simple-html=foo.pl.html foo.pl
23
24 # write simple snippet html output to foo.pl.html
25 hilitep6 --snippet-html=foo.pl.html foo.pl
26
27 # write simple ansi-colored output to STDOUT
28 hilitep6 --ansi-text=- foo.pl
29
31 The tool uses Syntax::Highlight::Perl6 to highlight perl 6 source code
32 into html, and ansi escape color sequences.
33
35 See Syntax::Highlight::Perl6
36
38 Written by Ahmad M. Zawawi "<ahmad.zawawi at gmail.com>"
39
41 The same license as Syntax::Highlight::Perl6
42
43
44
45perl v5.12.0 2010-01-10 HILITEP6(1)