Am Mittwoch, 6. Mai 2020 schrieb cilz <cilz...@cilzone.fr>: > > 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!"
It's all perfectly written down in Alex' documention on pilog: https://software-lab.de/doc/select.html Perhaps you should read the *whole documentation* about PicoLisp first. And then do, what the famous German Philospher Arthur Schopenhauer once said in "The World as Will and Representation": "Read my books and then, at the end, start again reading from the beginning". He was right. After having read through his book, only getting parts of it into my mind, i discovered plenty of things, i simply couldn't see or had overseen, when reading it the first time. Getting the *whole mindset* of PicoLisp is not easy, because Alex weaved into each other, what normaly is sold and mentally recognized as separate products: A Programming Language, a Prolog AI, a BTree Database Server, a Graph Database, a modern Web Framework ... That's, what makes it so highly efficient to program with. I've seen only two (complete, covering everything) simlilar other tools in my life, that is such efficient to program with. Have fun! > 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?subject=Unsubscribe >>