home *** CD-ROM | disk | FTP | other *** search
-
- Topic 1:
- liszt can now autoload macros. If liszt encounters a symbol without
- a function definition but with a macro-autoload indicator on the
- property list, then the value of the indicator is a file to load which
- should define the macro.
-
- The interpreter's undefined function handler will also look for
- macro-autoload properties, thus you needn't give a symbol both an
- autoload and a macro-autoload property.
-
- The default lisp contains macro-autoload properties for the macros
- defstruct, loop and defflavor.
-
- Topic 2:
- It is now possible to define 'compiler only macros' or cmacros.
- A cmacro acts like a normal macro, but will only be used by the
- compiler. A cmacro is stored on the property list of a
- symbol under the indicator 'cmacro'. Thus a function can
- have a normal definition and a cmacro definition.
- The macro 'defcmacro' has a syntax identical to 'defmacro' and
- creates cmacros instead of macros.
- For an example of the use of cmacros, see the definitions
- of nthcdr and nth in /usr/lib/lisp/common2.l
-
- Topic 3:
- If the form (foo ...) is macro expanded and the result also begins
- with the symbol foo, then liszt will stop macro expanding (previously
- it got into an infinite loop).
-
- Topic 4:
- The function nth has been added to Franz.
- (nth 'x_index 'l_list)
- returns the nth element of l_list, where the car of the list
- is accessed with (nth 0 'l_list)
-
- The macros (push 'g_value 'g_stack), and
- (pop 'g_stack ['g_into])
- have been added to franz.
- typical uses
- (setq foo nil)
- (push 'xxx foo)
- (push 123 foo)
- now foo = (123 xxx)
- (pop foo) returns 123
- now foo = (xxx)
- (pop foo yyy) returns xxx and sets yyy to xxx
-
-
- Topic 5:
- The version of Flavors written at Mit for Franz have been transported
- here. Flavors is a system for doing object oriented programming in
- lisp. The documentation for flavors in the Lisp Machine manual
- from Mit. Since Lisp Machine manuals are rather scarce around here,
- perhaps we can find someone to make copies of the flavor chapter for
- those interested in it. There is a description of the unique
- features of the Franz Flavors in /usr/lib/lisp/flavors.usage.
- As mentioned above, the flavors code will be autoloaded
- when you call 'defflavor' for the first time.
- Our local flavors expert is Eric Cooper (r.ecc).
-
-
-
-
-
-
-
-