Re: Storing data and code in a Db with LISP-like interface
Date: 1 Apr 2006 12:13:40 -0800
Message-ID: <1143922420.693017.264400_at_g10g2000cwb.googlegroups.com>
> ... Not only should the function work for data entered
> prior to writing the function but also for new data
> entered after the function is written.
// Verify getRoot function works with employe and employee.
// Both of the following display eve !!!
(msgbox (getRoot employe adam))
Note that in the above expressions, employe is translated by parser
into:
(msgbox (getRoot employee adam))
And employee is translated by parser into:
(firstNode (select * name (firstNode (select * symbol (select 'e' 'm'
'p' 'l' 'o' 'y' 'e' 'e')))))
Both of the above queries find the same verb instance whose name has
two similar symbol strings.