diff options
author | colin <colin@cicadas.surf> | 2023-08-08 07:03:58 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2023-08-08 07:03:58 -0700 |
commit | 0f42ae0e6d61e344e10604bc9b82f033fcdb91c9 (patch) | |
tree | 6e451c7b80da9c04889f8b67a6324a3be586ba78 /examples | |
parent | 2cdb3b48802d904fe5ed85235fcd5bb3d58be15a (diff) |
Added more documentation gen; deflangauge no longer uses defvar
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>) |