aboutsummaryrefslogtreecommitdiff
path: root/compilers.md
diff options
context:
space:
mode:
authorEduardo Julian2021-03-12 05:45:44 -0400
committerEduardo Julian2021-03-12 05:45:44 -0400
commitdff34f01e838475b817803ec856661fe8940e5c0 (patch)
treed8ddb3b6fd5963fdbdda64a13f2a430242fd7b26 /compilers.md
parent0c75fd67e3fcfbfb09d8c11b6cf396084ce40a15 (diff)
Almost done with PHP.
Diffstat (limited to 'compilers.md')
-rw-r--r--compilers.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/compilers.md b/compilers.md
index d757f123b..ae558bbea 100644
--- a/compilers.md
+++ b/compilers.md
@@ -11,9 +11,17 @@ cd ~/lux/lux-php/ && lein clean && lein lux auto test
```
## Develop
+## NOTE: Must set lux/control/concurrency/thread.parallelism = 1 before compiling to make sure JPHP doesn't cause trouble.
cd ~/lux/lux-php/ \
&& lein clean \
&& lein lux auto build
+
+## Build JVM-based compiler
+## NOTE: Must set lux/control/concurrency/thread.parallelism = 1 before compiling to make sure JPHP doesn't cause trouble.
+cd ~/lux/lux-php/ \
+&& lein clean \
+&& lein lux build \
+&& mv target/program.jar jvm_based_compiler.jar
```
## Try