Re:Why Lisp macros are cool, a Perl perspective (2005)
by sjolsen on Thursday December 04, 2014 @01:58PM
(#8700955)
> that doesn't seem very true, either
Strictly, it isn't. The point isn't that there's no syntax, though; it's that there's very little syntax, compared to other languages (consider C++'s… what, 17 operator precedence levels? And the Turing-complete parser?).
The comma in ',var' and '((x 7))' are examples of Common Lisp's built-in syntax. The former is part of a shorthand notation[1] for injecting literal code into templates. The latter is part of the syntax of LET[2].
Strictly, it isn't. The point isn't that there's no syntax, though; it's that there's very little syntax, compared to other languages (consider C++'s… what, 17 operator precedence levels? And the Turing-complete parser?).
The comma in ',var' and '((x 7))' are examples of Common Lisp's built-in syntax. The former is part of a shorthand notation[1] for injecting literal code into templates. The latter is part of the syntax of LET[2].
[1] http://www.lispworks.com/documentation/HyperSpec/Body/02_df....
[2] http://www.lispworks.com/documentation/HyperSpec/Body/03_aba...