From a51ba2a2bc7a7ef07047494234f5df2ad39b454c Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Sat, 28 Jan 2023 14:31:40 -0500 Subject: [PATCH] add TODO re: expression terminators --- src/ludus/scanner.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ludus/scanner.clj b/src/ludus/scanner.clj index 90ae28e..9c948d4 100644 --- a/src/ludus/scanner.clj +++ b/src/ludus/scanner.clj @@ -107,6 +107,10 @@ (defn- whitespace? [c] (or (= c \space) (= c \tab))) +;; TODO: update terminators: +;; remove: \| +;; add: \> +;; research others (def terminators #{\: \; \newline \{ \} \( \) \[ \] \$ \# \- \= \& \, \| nil \\}) (defn- terminates? [c]