Language::Farnsworth - A Turing Complete Language for Mathematics
use Language::Farnsworth::Error; error "Error message here"; debug 1, "This only happens when the user isn't thinking properly"; $Language::Farnsworth::Error::level = 3; # Change the level of debugging output for the current perl interpreter
This is an internally used class for producing errors (Eventually it will be the standard way of producing errors in Language::Farnsworth plugins). As I don't have a proper plugin system yet, nor all the features in here that i'd like i'm going to leave things like they are.
Add capturing information (maybe with a scope walker or something) to capture the current position in the farnsworth source. This will also require support in the parser to annotate the source position and store the filename and things.
Ryan Voots <simcop@cpan.org>
Copyright (C) 2010 by Ryan Voots
This library is free software; It is licensed exclusively under the Artistic License version 2.0 only.
To install Language::Farnsworth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Farnsworth
CPAN shell
perl -MCPAN -e shell install Language::Farnsworth
For more information on module installation, please visit the detailed CPAN module installation guide.