@plurnk/plurnk-mimetypes-text-perl
v1.2.0
Published
text/x-perl mimetype handler for plurnk-service. Tier 2: tree-sitter-perl grammar built to WASM and shipped pre-built. Covers packages, subroutines (with signatures), and variable declarations.
Readme
@plurnk/plurnk-mimetypes-text-perl
text/x-perl mimetype handler for the plurnk ecosystem. Tier 2 — uses tree-sitter-perl/tree-sitter-perl built to WASM.
what it does
package Foo::Bar;→ modulesub greet ($name) { ... }→ function (signature params surface inparams)my $x = .../our @LIST = ...→ variable / constant (by SCREAMING_SNAKE_CASE on the bare name without sigil)use constant PI => 3.14;anduse constant { A => 1, B => 2 };→ constant per name
Three channels per the framework's #10 contract: symbols (above), deep-json (inherited TreeSitterExtractor walker), deep-xml (framework-projected).
Registers text/x-perl with .pl, .pm, .t, .pod extensions.
license
MIT.
