Talk:S-expressions: Difference between revisions
Content added Content deleted
Line 48: | Line 48: | ||
== Existing Standards == |
== Existing Standards == |
||
People looking for "s-expression" are not finding a specification because this is not a language, but a name for a category of printed syntax from the Lisp culture. This is like looking for a standard which formalizes "reverse polish notation" or "infix". Well, C has infix, Fortran has infix, Java has infix, ... |
|||
Claims by people that they are unable to find any specification of S-expressions are exaggerated. |
|||
These standard languages have read syntax which is based on S-expressions: |
|||
Common Lisp: ANSI Standard available in the form of the [[http://www.lispworks.com/documentation/HyperSpec/Front/index.htm Common Lisp HyperSpec]]. The reader syntax is described in [[http://www.lispworks.com/documentation/HyperSpec/Body/02_.htm Syntax]]. |
Common Lisp: ANSI Standard available in the form of the [[http://www.lispworks.com/documentation/HyperSpec/Front/index.htm Common Lisp HyperSpec]]. The reader syntax is described in [[http://www.lispworks.com/documentation/HyperSpec/Body/02_.htm Syntax]]. |
||
Line 55: | Line 57: | ||
Scheme: Revised [6] Report on the Algorithmic Language Scheme, [[http://www.r6rs.org/ R6RS]]. |
Scheme: Revised [6] Report on the Algorithmic Language Scheme, [[http://www.r6rs.org/ R6RS]]. |
||
There are many common elements, and there are differences. |
|||
In addition to some prominent languages like these, there have been countless dialects. Emacs Lisp has its own particular S-expression syntax, and so does every Lisp dialect ever hacked up. |
|||
== syntax for S-Expressions == |
== syntax for S-Expressions == |