NAME
Language::Farnsworth - A Turing Complete Language for Mathematics
SYNOPSIS
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
DESCRIPTION
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.
TODO
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.
AUTHOR
Ryan Voots <simcop@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Ryan Voots
This library is free software; It is licensed exclusively under the Artistic License version 2.0 only.