[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AAAI-pcl code walker



In converting between St. Paddys PCL and AAAI (bout time huh?),
I found a difference in the code walker that I could use help
getting around.  Basically it is very simple, the code walker
breaks on forms like '((foo)).  It calls get-walker-template
with '(foo) and signals an error because there is no template
for it.  For example:
VIEW> (walker:walk-form '((frob)))
>>Error: Can't get template for (FROB)

WALKER::GET-WALKER-TEMPLATE:
   Required arg 0 (X): (FROB)
:A  0: Abort to Lisp Top Level

-> :b
WALKER::GET-WALKER-TEMPLATE <- WALKER::WALK-FORM-INTERNAL <- EVAL <-
SYSTEM:ENTER-TOP-LEVEL
-> 

In general, I would like to define a walker template for all '(( XXX ))
forms
that simply tells the walker to walk each subform.  Any suggestions?

JD
jdye@ads.com