aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2023-01-07 18:55:20 -0400
committerEduardo Julian2023-01-07 18:55:20 -0400
commitae2d5697d93a45dcbff768c32c4dc8fb291096cd (patch)
tree027d732be6a126d41d6265e595627b768daac29a /lux-js
parent06f5b1c544ad27eecfbc7cc9b3bd7591f9e33423 (diff)
Now wrapping C++ values inside a universal box.
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/commands.md6
-rw-r--r--lux-js/source/program.lux3
2 files changed, 2 insertions, 7 deletions
diff --git a/lux-js/commands.md b/lux-js/commands.md
index 6730dad02..0b14b046b 100644
--- a/lux-js/commands.md
+++ b/lux-js/commands.md
@@ -8,10 +8,6 @@ cd ~/lux/lux-js/ \
# Build
```
-cd ~/lux/lux-js/ \
-&& lux clean \
-&& lux with js auto build
-
## Build JVM-based compiler
cd ~/lux/lux-js/ \
&& lux clean \
@@ -21,7 +17,7 @@ cd ~/lux/lux-js/ \
## Use JVM-based compiler to produce a JS/Node-based compiler.
cd ~/lux/lux-js/ \
&& lux clean \
-&& time java -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program --program _ \
+&& time java -Xss2m -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program --program _ \
&& mv target/program.js node_based_compiler.js
## Use JS/Node-based compiler to produce another JS/Node-based compiler.
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 527ca0b73..7754db366 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -37,7 +37,6 @@
["^" pattern]
["[0]" template]]
[compiler
- ["[0]" phase (.only Operation Phase)]
[reference
[variable (.only Register)]]
[language
@@ -46,7 +45,7 @@
[translation (.only Host)]
[analysis
[macro (.only Expander)]]
- [phase
+ ["[0]" phase (.only Operation Phase)
["[0]" extension (.only Extender Handler)
["[0]" analysis
["[1]" js]]