1HILITEP6(1) User Contributed Perl Documentation HILITEP6(1)
2
3
4
6 hilitep6 - Command-line interface to highlight Perl 6 code
7
9 version 0.88
10
12 The tool uses Syntax::Highlight::Perl6 to highlight perl 6 source code
13 into html, and ansi escape color sequences.
14
16 # read from standard input
17 hilitep6
18
19 # print ansi-escaped text for 'comp_unit'
20 hilitep6 foo.pl
21
22 # print separate html, css and javascript files
23 hilitep6 --full-html=foo.full.html --clean-html foo.pl
24
25 # print ansi-escaped text for with 'statementlist' as the top-level rule
26 hilitep6 foo.pl statementlist
27
28 # write simple html output to foo.pl.html
29 hilitep6 --simple-html=foo.pl.html foo.pl
30
31 # write simple snippet html output to foo.pl.html
32 hilitep6 --snippet-html=foo.pl.html foo.pl
33
34 # write simple ansi-colored output to STDOUT
35 hilitep6 --ansi-text=- foo.pl
36
38 See Syntax::Highlight::Perl6
39
41 Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
42
44 This software is copyright (c) 2010 by Ahmad M. Zawawi.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.38.0 2023-07-21 HILITEP6(1)