fez-lisp 1.5.5 → 1.5.6
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/compiler.js +2 -0
package/package.json
CHANGED
package/src/compiler.js
CHANGED
@@ -7,6 +7,7 @@ import {
|
|
7
7
|
VALUE,
|
8
8
|
WORD
|
9
9
|
} from './keywords.js'
|
10
|
+
import { OPTIMIZATIONS } from './macros.js'
|
10
11
|
import { leaf, isLeaf, AST } from './parser.js'
|
11
12
|
const deepRename = (name, newName, tree) => {
|
12
13
|
if (!isLeaf(tree))
|
@@ -241,6 +242,7 @@ const comp = (tree, Drill) => {
|
|
241
242
|
case KEYWORDS.BITWISE_XOR:
|
242
243
|
case KEYWORDS.BITWISE_LEFT_SHIFT:
|
243
244
|
case KEYWORDS.BITWISE_RIGHT_SHIFT:
|
245
|
+
return `(${parseArgs(tail, Drill, token)});`
|
244
246
|
case KEYWORDS.REMAINDER_OF_DIVISION:
|
245
247
|
return `(${comp(tail[0], Drill)}%${comp(tail[1], Drill)});`
|
246
248
|
case KEYWORDS.BITWISE_NOT:
|