The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Modules

turns source code into stylish HTML
provides methods which return CSS definitions, for a Github-like styling
provides type_to_style(), which turns Pistachio::Token types into CSS definitions
provides snippet(), which turns source code text into stylish HTML
provides is_keyword()
provides an API for plugging arbitrary language tokenizers and stylizers into Pistachio
provides supported_languages() and supported_styles()
expresses a single source code language token as an object
provides text_to_tokens(), which turns source code text into an array of Pistachio::Tokens
provides transform_rules(), which returns an array of Pistachio::Token::Transformer::Rules
express a token transformer rule as an object
provides iterator(), which turns source code text into a Pistachio::Token iterator