sexps
belong: Elisp
什么是sexps
> Basically, a sexp is either a balanced parenthetical grouping, a string, or a symbol (i.e., a sequence of characters whose syntax is either word constituent or symbol constituent). > However, characters in the expression prefix syntax class (see Table of Syntax Classes) are treated as part of the sexp if they appear next to it.
这是官方的定义
这里有一个重点,就是 balanced.
“Balanced expressions”指的是平衡表达式。
在上下文中,它主要指那些括号正确匹配的表达式,即每个左括号“(”都有一个对应的右括号“)”,并且括号的嵌套顺序是正确的。
例如,“(a + b)*(c + d)”就是一个平衡表达式,而“(a + b *(c + d)”就不是平衡表达式,因为最后一个左括号没有对应的右括号。