HILITEP6(1)

πŸ“¦
version 0.88 Β· 2 versions
, in fedora 43

πŸ’– 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>


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 by perl v5.42.0, dated 2025-07-25 β€” thanks for coming to my ted talk, mwah πŸ˜˜πŸ’–
πŸ“¦ where this page comes from