Babbage problem: Difference between revisions
→Black box: Code update.
Cyril Nocton (talk | contribs) |
Cyril Nocton (talk | contribs) (→Black box: Code update.) |
||
Line 1,157:
Lisp « jargon » is hidden in a black box.
<syntaxhighlight lang="lisp">(defmacro
`(defun ,name () (tagbody ,@body)))
`(go ,label))
(defmacro → (test statement)
(defmacro ← (place value)
`(if (boundp ',place)
(setf ,place ,value)
(defvar ,place ,value)))
(defmacro
▲ `(when ,condition ,@body))
▲(defmacro <- (var &body body)
▲ `(setf ,var ,@body))</syntaxhighlight>
==== References====
|