Plasp::Parser - Role for Plasp providing code parsing
package Plasp; with 'Plasp::Compiler', 'Plasp::Parser'; sub execute { my ($self, $scriptref) = @_; my $parsed = $self->parse($scriptref); my $subid = $self->compile($parsed->{data}); eval { &$subid }; }
This class implements the ability to parse ASP code into readable format for Plasp::Compiler
Plasp::Compiler
Take a $scriptref and returns a hash including parsed data
$scriptref
Take a $file and returns a hash including parsed data
$file
Plasp
To install Plasp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plasp
CPAN shell
perl -MCPAN -e shell install Plasp
For more information on module installation, please visit the detailed CPAN module installation guide.