aboutsummaryrefslogtreecommitdiff
path: root/lux-js/commands.md
diff options
context:
space:
mode:
authorEduardo Julian2021-06-29 00:54:13 -0400
committerEduardo Julian2021-06-29 00:54:13 -0400
commit6633cd42f2892ea71530ddeeb93a7e7c0b59faa3 (patch)
treeaef31dba019fe7bc5141084ab8c25369bd7e83ca /lux-js/commands.md
parentdb3e864ae66da7f7d1034ae95967605144d5ec47 (diff)
Some updates for the new compilers.
Diffstat (limited to '')
-rw-r--r--lux-js/commands.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/lux-js/commands.md b/lux-js/commands.md
index ff0124850..b1d974d69 100644
--- a/lux-js/commands.md
+++ b/lux-js/commands.md
@@ -22,13 +22,13 @@ cd ~/lux/lux-js/ \
## Use JVM-based compiler to produce a JS/Node-based compiler.
cd ~/lux/lux-js/ \
&& lein clean \
-&& time java -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \
+&& java -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \
&& mv target/program.js node_based_compiler.js
## Use JS/Node-based compiler to produce another JS/Node-based compiler.
cd ~/lux/lux-js/ \
&& lein clean \
-&& time node --stack_size=8192 node_based_compiler.js build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \
+&& node --stack_size=8192 node_based_compiler.js build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \
&& mv target/program.js lux.js
```
@@ -38,8 +38,7 @@ cd ~/lux/lux-js/ \
## Compile Lux's Standard Library's tests using a JS/Node-based compiler.
cd ~/lux/stdlib/ \
&& lein clean \
-&& time node --stack_size=8192 ~/lux/lux-js/lux.js build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
-
-node ~/lux/stdlib/target/program.js
+&& node --stack_size=8192 ~/lux/lux-js/lux.js build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \
+&& node ~/lux/stdlib/target/program.js
```