However, there are examples in the Eclipse and ANSI documentation which do use Lisp syntax. It may be helpful to understand the following:
foo-bar -- a variable. The value of the
expression is the value of the variable named foo-bar.
123 -- an integer. The value of the expression
is the integer 123.
123.4 -- a floating point number. The value of
the expression is the floating point number 123.4.
"a string" -- a string. The value of the
expression is the string "a string".
(+ 1 2) -- a function call. The value of the
expression is the result of calling the function named +
with the following arguments:
1
2
(+ 1 foo-bar 2 (+ 1 2)) -- a function call. The value of the
expression is the result of calling the function named +
with the following arguments:
1
foo-bar (a variable, see above)
2
(+ 1 2) (a list expression, see above)
(if a b (+ 1 2)) -- a special operator form. The value
of the expression is the value of the expression b if
the value of the expression a is true.
Otherwise, the value is the value of the expression (+ 1 2).
(quote an-expression) is simply
an-expression, without evaluating it. Thus the
value of (quote foo-bar) is the symbol
foo-bar. (Not the value of the variable
foo-bar. Compare this with the expression
foo-bar by itself, above.)
The expression (quote an-expression) occurs so
often, that it has a special syntax:
'an-expression is the same thing. Thus
foo-bar produces the value stored in the variable named
foo-bar, while 'foo-bar produces a value which is the
symbol named foo-bar.