From 911e5868ab281a1fdb82b84b63aa35411933ceae Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 8 Aug 2023 07:23:02 -0700 Subject: changed :doc to :note in rule specs --- README.org | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index e345bcf..9a8b710 100644 --- a/README.org +++ b/README.org @@ -21,10 +21,12 @@ In ~/examples/calc.lisp~ you see the following ~deflanguage~: ( :match (:or )) ( - :match (:{} calc)) + :match (:{} calc) + :doc "A subexpression, like (1 + 2 / cos(1.5))") ( :match (:item) - :if numberp) + :if numberp + :doc "A Number") ( :match (:seq (:@ lhs ) @@ -75,7 +77,11 @@ Function: ::= ::TOKEN:: ::= ('+' | '-' | '/' | '*' | '^' | '%') ⁤+ ::= ('SIN' | 'COS' | 'TAN' | '-') - +------------------------------------------ +ADDITIONAL NOTES: + A subexpression, like (1 + 2 / cos(1.5)) + A Number +------------------------------------------ KEY: ::TOKEN:: Any ole token ::EOF:: Explicitly match the end of the input @@ -213,3 +219,5 @@ clause, it can be either a function designator or an arbitrary expression. When ~~ succeeds, it returns a list of two values. +*** Additional Docstrings + -- cgit v1.2.3