Re: Storing data and code in a Db with LISP-like interface

From: Neo <neo55592_at_hotmail.com>
Date: 1 May 2006 12:57:32 -0700
Message-ID: <1146513452.864955.15150_at_i40g2000cwc.googlegroups.com>


> Interestingly, you can represent it without extending the language or adding another function. I'm not sure, but it kinda looked like that's what you were doing with your CreateWRR call in another part of this exhaustive thread.

Actually I added the function createWRR (create with reciprocal relationships) in dbd's code, recompiled it and so on; to reduce the size of the scripts since people were complaining that it was too long. CreateWRR is equivalent to two lines with the create function.

But on a related note, as the original and serveral other posts indicated, an app/android using dbd can create a new function (ie createWRR or getRoot) on-the-fly, at run-time simply by adding data to the db using the existing functions such as create, select, etc. The app/andriod can then use the new function in yet another new function and so on, all at run-time. Can Prolog or LISP do similar? Since there is still a lot of development to do in this area, I can only demo simple functions at this time. Received on Mon May 01 2006 - 21:57:32 CEST

Original text of this message