|
NAMEAI::Prolog::Parser::PreProcessor::Math - The AI::Prolog math macroSYNOPSISmy $program = AI::Prolog::Parser::PreProcessor::Math->process($prolog_text). DESCRIPTIONThis 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.TODOConstant 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. AUTHORCurtis "Ovid" Poe, <moc tod oohay ta eop_divo_sitruc>Reverse the name to email me. COPYRIGHT AND LICENSECopyright 2005 by Curtis "Ovid" PoeThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |