What version(s) of LISP have putprop?
I am hacking an old Lisp program, which once compiled and worked in Franz LISP, it is claimed. But Franz LISP is too old, so I am trying the CLISP compiler. However, CLISP does not have
I realise I could write a function that does the same thing as
putprop, but in case I have to perform further translations, I am wondering: what version(s) of Lisp do have
MACLISP had it. Since Franz Lisp is reportedly similar to MACLISP, there is a non-
zerop chance that Kent Pitman's Notes on Converting MACLISP/Zetalisp to Common Lisp can help you in getting the code you're working with to run on a modern Common Lisp implementation.
ACL2 - World, Access to property lists is given via the Common Lisp function get . To set some property's value for some symbol, ACL2 provides putprop . worlds be named and these names are used to distinguish installed versions of the various worlds. 10.1. The Property List. Since its inception, Lisp has associated with each symbol a kind of tabular data structure called a property list (plist for short). A property list contains zero or more entries; each entry associates with a key (called the indicator), which is typically a symbol, an arbitrary Lisp object (called the value or, sometimes, the property).
The equivalent functionality is provided in Common Lisp by a combination of SETF and GET.
CL-USER 1 > (setf (get 'foo :bar) :baz) :BAZ CL-USER 2 > (get 'foo :bar) :BAZ
putprop, In Lisp, associated with each symbol is a property list. In the most basic sense, this is Error: (setf last) does not have a function definition. [condition type: Note: It appears that Clisp does not have either put or putprop. You can define these� What version(s) of LISP have putprop? 41. What's difference between defvar, defparameter, setf and setq. 0. CLISP: undefined function SHOW. 0. File loading
Portable Standard Lisp also has it, as does Interlisp. The reason Common Lisp doesn't is probably because of the execrable
SETF, which you should not touch with a barge-pole, since it destructively modifies data structures. However, probably
putprop in other legacy Lisps also work by destructive modification, so if you want to implement
putprop you could do it:
(defmacro putprop (var prop val) `(setf (get ,var ,prop) ,val))
7.2. Generalized Variables, Given the existence of setf in Common Lisp, it is not necessary to have setq, as putprop, the update function for get) have been eliminated from Common Lisp in The two-argument versions have been found to be very useful, but the names� 11. The function READ reads the next s-expression from the input and returns it. Experiment by typing an s-expression after entering (setq x (read)) and then check the value of x. Experiment with (setq x (cons (read) (read)) as well. Write the following function. to read a sequence of s-expressions as defined in the following. Assume correct input.
as I remember, Scheme has putprop; but do you call that a LISP?
ACL2, http://en.wikipedia.org/wiki/ACL2, also has putprop, and it's built on Common Lisp.
LISP, There are a great many versions of LISP available and all these LISPs have a Early versions of LISP had the put (or putprop) function to assign properties and� When a fronted lisp does not have a sibilant quality, due to placing the lack of a grooved articulation, the IPA transcription would be [θ, ð] or variants thereof. A lateral lisp occurs when the [s] and [z] sounds are produced with air-flow over the sides of the tongue. It is also called "slushy ess" or a "slushy lisp" in part to its wet
Let us call explainlet with x and y respectively as 8 and 9 explainlet , A : is a placeholder for a value which will be printed as if print were used, S : is The newer version of COMMON LISP avoid PUTPROP and instead use SETF. Lisp definition, a speech defect consisting in pronouncing s and z like or nearly like the th-sounds of thin and this, respectively. See more.
[PDF] Lisp, Lisp has the syntactic equivalence of programs and data invoked at run time; Also, two versions of scoping: static and %(putprop 'France 2130000 'area). Many children have this lisp, but most of them grow out of it naturally. If a child does not, professional opinion is divided on whether the child should start speech therapy for a frontal lisp at the age of four and a half, or wait until he turns seven.
Common Lisp, Common Lisp (CL) is a dialect of the Lisp programming language, published in ANSI standard document ANSI INCITS 226-1994 (R2004) (formerly X3.226-1994 (R1999)). The Common Lisp HyperSpec, a hyperlinked HTML version, has been It uses S-expressions to denote both code and data structure. Function calls� Dentalized lisp—occurs when the tongue pushes against the front teeth. Lateral lisp—sounds wet or “slushy” because the air flows around the tongue. Palatal lisp—the middle of the tongue touches the soft palate, or roof of the mouth, when trying to produce the /s/ sound.
- no, the LISP I meant is a little syntacticly different from Scheme. and I think a better solution for me is to use the LISP versions.
- si.washington.edu/static/skandha4/manuals/slisp_289.html says XLISP has it; ok never mind, that's also a Scheme
- see revised answer, I found a Common Lisp that has putprop. I don't believe I deserved a downvote in any case.
- I wouldn't call XLISP "a scheme", even if XLISP1 had (IIRC) a single namespace for functions and variables. XLISP2 is, I believe, closer to Common Lisp.
- The main statement of your answer is wrong, Scheme in general doesn't have putprop. It wouldn't even be possible to implement it, because Scheme symbols usually don't have property lists.