aboutsummaryrefslogtreecommitdiff
path: root/src/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp')
-rw-r--r--src/lisp/core.lisp.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in
index a46e14b4..6b57b73a 100644
--- a/src/lisp/core.lisp.in
+++ b/src/lisp/core.lisp.in
@@ -100,6 +100,7 @@
"closeFile"
"prettyPrint"
"readLine"
+ "readExpr"
;; compiler data structures
"%Mode"
@@ -513,6 +514,9 @@
(defmacro |readByte| (f)
`(read-byte ,f nil |%nothing|))
+(defmacro |readExpr| (f)
+ `(read ,f nil |%nothing|))
+
;; Pretty-print a lisp form on a given output stream.
(defun |prettyPrint| (x &optional (s |$OutputStream|))
(let ((*print-pretty* t)