Search found 1 match
- Fri Aug 04, 2006 1:32 pm
- Forum: newLISP newS
- Topic: Macors that write functions/macros?
- Replies: 1
- Views: 2439
Macors that write functions/macros?
In clisp, you can do something like this: (defun create-symbol (str) (intern (string-upcase str)) ) (defmacro create-functions (group-name) (let ((f1 (create-symbol (format nil "~a~a" group-name 1))) (f2 (create-symbol (format nil "~a~a" group-name 2))) ) `(progn (defun ,f1 (arg) (+ arg 1)) (defun ,...