HILITEP6(1)
π HILITEP6 π
okay bestie, so hilitep6 is literally the command-line interface to highlight Perl 6 code β¨ that's the NAME, that's the whole vibe
π VERSION π
version 0.88 β yes she's got a version number and yes she's serving π
πΈ DESCRIPTION πΈ
ok so the way this works is iconic: the tool uses Syntax::Highlight::Perl6 to highlight perl 6 source code into html, and also into ansi escape color sequences. that's it. that's the whole job. and she does it flawlessly, no cap π¦
β¨ USAGE β¨
here's the tea, bestie β all the ways you can run her π«Ά
# 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
like look at her go πβοΈπ¨ read from standard input, pass a file, pick your top-level rule (comp_unit is the default btw, statementlist is the other one in the examples), write out html or ansi, all of it. main character energy fr fr π
π SEE ALSO π
See Syntax::Highlight::Perl6 β that's the module doing all the heavy lifting behind the scenes, go say hi to her too π
π 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. π
ok that's the whole page, you ate that bestie π no cap, now go highlight some Perl 6 π
this one's brought to you byperl v5.42.0, dated2025-07-25β thanks for coming to my ted talk, mwah ππ
π¦ where this page comes from
- fedora 43: perl-Syntax-Highlight-Perl6 0.88-41.fc43 Β· ( GPL-1.0-or-later OR Artistic-1.0-Perl ) AND Artistic-2.0 AND ( MIT OR GPL-2.0-only )
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms