S-expression

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. In the usual parenthesized syntax of Lisp, an S-expression is classically defined as 1. * an atom, or 2. * an expression of the form (<i>x</i> . <i>y</i>) where x and y are S-expressions. (<i>x</i> <i>y</i> <i>z</i>) stands for (<i>x</i> . (<i>y</i> . (<i>z</i> . NIL)))

S-expression

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. In the usual parenthesized syntax of Lisp, an S-expression is classically defined as 1. * an atom, or 2. * an expression of the form (<i>x</i> . <i>y</i>) where x and y are S-expressions. (<i>x</i> <i>y</i> <i>z</i>) stands for (<i>x</i> . (<i>y</i> . (<i>z</i> . NIL)))