about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2023-03-03 11:45:19 -0500
committerelioat <hi@eli.li>2023-03-03 11:45:19 -0500
commit7d63c21493390a5f327e89085df8799a902b9e3e (patch)
treea23d772c2f7c3775113f5302cb8e3fc028578af5
parentd31b4c86cbb98d027472a20f4d573281e9c0cf26 (diff)
downloadtour-7d63c21493390a5f327e89085df8799a902b9e3e.tar.gz
*
-rw-r--r--lisp/js/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/js/README.md b/lisp/js/README.md
index 92f2fa9..49b4c56 100644
--- a/lisp/js/README.md
+++ b/lisp/js/README.md
@@ -21,11 +21,13 @@ To run in the browser:
 </head>
 <body>
 	<script>
-		const ret = lisp.interpret(lisp.parse(
+		const ret = lisp.run(
 			`(print 
 				(add 3 3))`
-			));
+			);
 	</script>
 </body>
 </html>
-```
\ No newline at end of file
+```
+
+`lisp.run()` is a convinence, it wraps `lisp.interpret(lisp.parse())`. 
\ No newline at end of file