diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/calc.lisp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/calc.lisp b/examples/calc.lisp index d3140ee..0a25a6b 100644 --- a/examples/calc.lisp +++ b/examples/calc.lisp @@ -16,10 +16,12 @@ (<expr> :match (:or <subexpr> <value> <unop> <binop>)) (<subexpr> - :match (:{} calc)) + :match (:{} calc) + :doc "A subexpression, like (1 + 2 / cos(1.5))") (<value> :match (:item) - :if numberp) + :if numberp + :doc "A Number") (<binop> :match (:seq (:@ lhs <expr>) |