From ae2d5697d93a45dcbff768c32c4dc8fb291096cd Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 7 Jan 2023 18:55:20 -0400 Subject: Now wrapping C++ values inside a universal box. --- lux-js/commands.md | 6 +----- lux-js/source/program.lux | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'lux-js') 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]] -- cgit v1.2.3