git » jacl.git » commit 7e8c5b8

Add #< and #\

author Alan Dipert
2019-09-04 04:16:30 UTC
committer Alan Dipert
2019-09-04 04:16:30 UTC
parent 46b3e04be0bc3315dfba1a80673734191d062344

Add #< and #\

jacl.js +4 -0

diff --git a/jacl.js b/jacl.js
index 30a22cf..2c85f77 100644
--- a/jacl.js
+++ b/jacl.js
@@ -309,6 +309,10 @@ const readSharpsign = async stream => {
       } else {
         throw new Error(`Object after #: not a symbol`);
       }
+    case '\\':
+      return new Values(await stream.read());
+    case '<':
+      throw new Error(`Illegal # char: <`);
     default:
       throw new Error(`Unknown # char: ${ch}`);
   }