This commit is contained in:
msyds committed 2026-09-22 03:15:17 -06:00
1 parent cecbb1b183
commit 7c8bba4221
2 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -520,7 +520,7 @@
scopes* (conj scopes (new-scope))
env* (merge env (unification->env unif symtable-ref scopes*))]
(expand (transcribe (:template rule) env* @symtable-ref scopes*)
env ;; 아마도 `env*`를 써야 되고 `env`를 안 써야 될까?
env ;; 아마도 `env*`를 써야 되고 `env`를 안 써야 된가?
symtable-ref
scopes)))
+8 -2
View File
@@ -3,11 +3,17 @@ program = <intertoken-space> datum*
(* tokens *)
boolean = #"#(t(rue)?|f(alse)?)" <intertoken-space>
semicolon = ';'
left-paren = '(' <intertoken-space>
right-paren = ')' <intertoken-space>
(* datum *)
datum = simple-datum
<datum> = simple-datum
<simple-datum> = boolean
<simple-datum> = boolean | symbol
(* symbol *)
symbol = ordinary-symbol
<ordinary-symbol> = #"[\P{Lu}\P{Ll}\P{Lt}\P{Lm}\P{Lo}\P{Nl}\P{No}\P{Pd}\P{Pc}\P{Sc}\P{Po}\P{Sm}\P{Sk}\P{So}\P{Co}\u200c\u200d&&[^;|\".,#]][\P{Lu}\P{Ll}\P{Lt}\P{Lm}\P{Lo}\P{Nl}\P{No}\P{Pd}\P{Pc}\P{Sc}\P{Po}\P{Sm}\P{Sk}\P{So}\P{Co}\u200c\u200d\P{Nd}\P{Me}\P{Mc}.&&[^;|\",#]]*"
(* atmosphere *)
atmosphere = whitespace | comment | directive