3 ms·
What is ' other than a special mode? The fact is that symbols are treated more systematically in Mathematica, and that makes it easier to assemble and dissemble
by programnature 16y ago
What is ' other than a special mode? The fact is that symbols are treated more systematically in Mathematica, and that makes it easier to assemble and dissemble symbolic structures of all sorts.
Sounds like a case of blub. You look at Mathematica and see some weird stuff that is probably equivalent in power to multimethods or whatever, I look at Lisp and think how can I possibly live without civilized pattern matching.
As far as Lisp-based AI goes, its in fact very easy to miss it, but this is probably not the thread to get into Lisp's cultural issues.
- jjs 16y agoWhat is ' other than a special mode? I usually implement it as a reader macro. :)
- lispm 16y agoSymbols are not treated more systematically in Mathematica. QUOTE is a special operator in Lisp that causes the evaluator to return its argument unevaluated. (quote a) -> a (quote (+ 1 2)) -> (+ 1 2) (quote "abc") -> "abc" Mathematica has a different strategy for computation, one that is based on rewrite rules. Expressions are rewritten until they can't no longer be rewritten. In Lisp evaluation (+ a a) gives an error if the variable A has no value. In Mathematica it would be reduced to (* 2 a) ; in Lisp syntax if A has no value. But that has little to do with the processing capabilities of Lisp. A function like Take can be written very natural in Lisp - there is NO special mode needed. The function takes data and computes results. You may want to get out of your Mathematica blub and learn some Lisp. Writing the 'Take' function is a good exercise. Stuff like that are basic exercises in Lisp courses.