diff options
Diffstat (limited to 'src/lisp/core.lisp.in')
-rw-r--r-- | src/lisp/core.lisp.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index 025791f2..dece602f 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -113,6 +113,7 @@ "closeFile" "closeStream" "eof?" + "forkStreamByName" "prettyPrint" "readLine" "readExpr" @@ -607,6 +608,10 @@ (defmacro |eof?| (s) `(null (peek-char nil ,s nil nil nil))) +;; Make a new stream object, duplicate of the denotation of argument. +(defmacro |forkStreamByName| (s) + `(make-synonym-stream ,s)) + ;; Read a line from the input text file. Quietly return ;; %nothing at end of file. (defmacro |readLine| (f) |