Le 06/05/2020 à 15:19, Guido Stepken a écrit :
Sorry, no tutorial handy ... i only have the full code, which i don't want to publish ...

Too bad!

May be you can devise a tiny example to help us (at least the very noob like me) figure out what you're meaning with this awesome statement "Picolisp is the only language in the world, that can reason about database contents!"

Hence, am I right if I consider PicoLisp as the root for building a "deductive database system"?

But Prolog, same as *pilog* is a declarative language, very easy to learn. What makes pilog unique is, that you can mix it with Lisp.

It's a relatively simple combinatorial problem, that can be divided into two (well, four) separate problems:

1st: Find the right, matching boxes to fulfill your 'special' customer's demands.

2nd: With the rest of fruits you let pilog reason about, what 'standard packages' can be rebuilt from that.

3rd. Delete boxes from problem #1 from your inventory (PicoLisp)

4th. Add rebuilt boxes to inventory. There might be some fruits left over. (PicoLisp)

Now your homework! ;-)

yes!
Of course, you can implement it with pure Lisp, too! ;-)

Have fun!


Best,

Eric

> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de <mailto:picolisp@software-lab.de>?subject=Unsubscribe >

Reply via email to