![]() |
Notice how similar this function looks to the code we had written before for describe-path: In Lisp, not only do code and data look identical, but code and special commands to the interpreter (the SPELs) look identical as well - A very consistent and clean design! Let's try our new SPEL: |
(walk east) |
==> (you are in the living room of a wizard's house - there is a wizard snoring loudly on the couch - there is a door going west from here - there is a stairway going upstairs from here - you see a whiskey-bottle on the floor - you see a bucket on the floor -) |
Much better! |
<< begin < previous - next > end >> |