diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/js/README.md | 8 |
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 |