fez-lisp 1.5.84 → 1.5.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/baked/std.js +1 -1
- package/package.json +1 -1
- package/src/check.js +180 -506
- package/src/keywords.js +8 -1
package/src/keywords.js
CHANGED
@@ -15,7 +15,6 @@ export const STATIC_TYPES = {
|
|
15
15
|
COLLECTION: 'Collection',
|
16
16
|
PREDICATE: 'Predicate'
|
17
17
|
}
|
18
|
-
export const STATIC_TYPES_SET = new Set(Object.values(STATIC_TYPES))
|
19
18
|
export const KEYWORDS = {
|
20
19
|
LOOP: 'loop',
|
21
20
|
CREATE_ARRAY: 'array',
|
@@ -77,3 +76,11 @@ export const DEBUG = {
|
|
77
76
|
export const SPECIAL_FORMS_SET = new Set(
|
78
77
|
Object.values(KEYWORDS).concat(Object.values(STATIC_TYPES))
|
79
78
|
)
|
79
|
+
export const STATIC_TYPES_SET = new Set(Object.values(STATIC_TYPES))
|
80
|
+
export const PREDICATES_SET = new Set([
|
81
|
+
KEYWORDS.IF,
|
82
|
+
KEYWORDS.AND,
|
83
|
+
KEYWORDS.OR,
|
84
|
+
KEYWORDS.NOT,
|
85
|
+
KEYWORDS.LOOP
|
86
|
+
])
|