S-expression
Sign in to saveAlso known as S expression, sexp, sexpr, S-expression notation
thumb|Tree (data structure)|Tree data structure representing the S-expression (* 2 (+ 3 4))
~10 min read
Encyclopedic overview
8 sectionsContents
- Characteristics
- Datatypes and syntax
- Use in Lisp
- Relation to XML
- Standardization
- See also
- References
- External links
thumb|Tree (data structure)|Tree data structure representing the S-expression (* 2 (+ 3 4))
In computer programming, an S-expression (or symbolic expression, abbreviated as sexpr or sexp) is an expression in a like-named notation for nested list (tree-structured) data. S-expressions were invented for, and popularized by, the programming language Lisp, which uses them for source code as well as data.
Excerpted from Wikipedia’s “S-expression” article, available under the CC BY-SA 4.0 licence.