Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Sunday January 30, 2005
10:19 PM

Next up, basic math skills

[ #22948 ]

I have just received permission from one Dr. Vaucher to steal bits of his XProlog code for AI::Prolog. If I have the time, I should now be able to get basic math working in the next week or so. The only major obstacle I face right now is reimplementing the parser to handle the operators. That might take a bit.

I tried doing an end-run around the problem and define everything in terms of predicates and I have a development version which implements gt(X,Y), ge(X,Y), lt(X,Y) and le(X,Y), but generalizing that out proved difficult, though I think I might be able to do that. Still, being able to write X + Y instead of sum(X, Y) or sum([X|Y]) would be nice.

With a bit more work, this could serve as a convenient foundation for agent-based software.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.