parrotcode: Miniperl6 tokenizer | |
Contents | Language Implementations | miniperl |
Miniperl::Tokenizer - Miniperl6 tokenizer
use Miniperl::Tokenizer;
my $tok = Miniperl::Tokenizer->new([$file_name]); # Optional file name
$out_aref = $tok->tokenize([$string]); # Optional string
The tokenizer takes either a text string (directly in tokenize()) or a file in the new() member function. This gets broken into perl6 tokens.
Jeffrey Goff, drforr@hargray.com
parrot(1).
|