<- Prev
mantoniotti [Mon, 21 May 2007 12:29:24]
Added file 'apply-substitition.lisp' with a few new functions that are
a start for the variable substitition operation.
New fixes to the MATCH and MATCH-CASE macros. They should now work as
advertised.
Minor changes to other files: added exports to package file, fixed
.system and .asd files.
mantoniotti [Wed, 19 Jul 2006 21:52:34]
Fixed two problems with the unifier machinery.
The first one had to do with the matching of NIL against SYMBOL and LIST
in several places: essentially, the problem is incongruencies in the
results of COMPUTE-APPLICABLE-METHODS in these cases. I think I caught
most of them: unification of lists and the occur-check were the obvious
places where things went awry.
The second problem had to do with the reader macro #T. The original
code generated an object at read time, which is not such a good idea.
Now the code generates a call to MAKE-TEMPLATE with is evaluated later.
Incidentally, the reader macro function is now called |sharp-T-reader|, in
order to placate Emacs fontification.
Modified Files:
templates-hierarchy.lisp unifier.lisp
mantoniotti [Wed, 19 Jul 2006 20:28:49]
mantoniotti [Tue, 25 Oct 2005 19:17:33]
Fixed problem with the unification of a list with a
SEQUENCE-TEMPLATE. The implementation was not checking that the
length of the list was compatible with the length of the required
elements in the template.
Apart from that, keyword matching is still unimplemented.
mantoniotti [Tue, 25 Oct 2005 19:08:15]
Fixed problem with checking the presence of T and OTHERWISE clauses in
MATCHING.
mantoniotti [Mon, 25 Jul 2005 15:15:08]
mantoniotti [Fri, 20 May 2005 16:41:16]
mantoniotti [Fri, 20 May 2005 16:38:06]
mantoniotti [Fri, 20 May 2005 16:33:24]
mantoniotti [Fri, 20 May 2005 16:27:05]
mantoniotti [Fri, 20 May 2005 16:18:33]
Fixed a documentation bug.
Thanks to Norman Werner for spotting it.
mantoniotti [Fri, 20 May 2005 15:47:44]
mantoniotti [Fri, 20 May 2005 15:19:53]
Fixed two major bugs reported by Norman Werver. Unification of
strings and symbols and of numers and symbols was not recurring on
VAR-UNIFY, as required; thus
(unify '(?x ?x) '("asd" "qweert"))
and
(unify '(foo ?x baz) '(foo 42 ?x))
would succed.
The two cases are now fixed.
mantoniotti [Thu, 19 May 2005 23:00:18]
mantoniotti [Thu, 19 May 2005 22:58:34]
mantoniotti [Thu, 19 May 2005 22:54:27]
mantoniotti [Thu, 19 May 2005 22:52:52]
mantoniotti [Thu, 19 May 2005 22:49:59]
Changed the DISCLAIMER parts in the files, in order to clarify the licensing
of the code.
mantoniotti [Wed, 27 Apr 2005 21:04:59]
mantoniotti [Wed, 27 Apr 2005 21:04:36]
Added IGNORABLE declaration to MATCH macro expansion.
This is useful in quieting various compilers.
mantoniotti [Wed, 27 Apr 2005 20:54:05]
mantoniotti [Wed, 27 Apr 2005 20:52:09]
mantoniotti [Wed, 27 Apr 2005 20:44:25]
Fixed bugs in COLLECT-TEMPLATE-VARS for NUMBER-TEMPLATEs.
If a variable was present, then the method was not returning a list.
The treatment of constants like PI was also incorrect, as the numeric
value was returned. Retunrning () seems the right thing to do
instead.
mantoniotti [Wed, 27 Apr 2005 20:41:56]
Added MATCH-CASE macro. Slightly modified from the version provided
by Peter Scott.
mantoniotti [Wed, 27 Apr 2005 19:31:18]
mantoniotti [Thu, 21 Apr 2005 15:33:20]
mantoniotti [Fri, 28 Jan 2005 19:46:37]
mantoniotti [Fri, 28 Jan 2005 19:45:40]
mantoniotti [Fri, 28 Jan 2005 19:30:35]
Fixed minor problem in Lambda List parsing.
Also VALID-TEMPLATE-P was expanded, and it looks like it should become
a generic function.
mantoniotti [Wed, 17 Nov 2004 22:19:54]