Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Python syntax in Lisp and Scheme
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="prunesquallor, post: 1729450"] There used to be FEXPR and FSUBRs in MacLisp, but Common Lisp never had them. They had flags that indicated that their arguments were not to be evaluated, but were otherwise `normal' functions. The problem with FEXPRs is when you pass them around as first-class values. Then it is impossible to know if any particular fragment of code is going to be evaluated (in fact, it can dynamically change). Needless to say, this presents problems to the compiler. It generally became recognized that macros were a better solution. So FSUBRs, which were primitives that did not evaluate their arguments have been superseded by `special forms', which are syntactic constructs. FEXPRs, which were user procedures that did not evaluate their arguments have been superseded by macros. Macros and special forms are generally not considered `functions' because they are not first-class objects. The original Winston and Horn book came out prior to SICP, which itself came out prior to the creation of Common Lisp. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Python syntax in Lisp and Scheme
Top