Module Version: 0.01
AI::Prolog::Parser::PreProcessor::Math - The AI::Prolog math macro
my $program = AI::Prolog::Parser::PreProcessor::Math->process($prolog_text).
This code reads in the Prolog text and rewrites it to a for that is suitable for the AI::Prolog::Parser to read. Users of AI::Prolog should never need to know about this.
Constant folding for performance improvment. No need to internally have
is(X, plus(3, 4)) when I can do
is(X, 5). It shouldn't be too hard.
Figure out how to preserve line number.
Curtis "Ovid" Poe, <moc tod oohay ta eop_divo_sitruc>
Reverse the name to email me.
Copyright 2005 by Curtis "Ovid" Poe
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.