src/final.lisp: Add convenient macro for testing parsers at the REPL.
[sod] / doc / misc.tex
index 8c8b9c1..06791f4 100644 (file)
@@ -533,6 +533,11 @@ These symbols are defined in the @!optparse| package.
 \begin{describe}{fun}{test-module @<path> @<reason>}
 \end{describe}
 
+\begin{describe}{mac}
+    {test-parser (@<scanner>) @<parser> @<input>
+      @> @<success-flag> @<result> @<remainder>}
+\end{describe}
+
 \begin{describe}{fun}{exercise}
 \end{describe}