aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2021-08-25 16:47:50 -0400
committerEduardo Julian2021-08-25 16:47:50 -0400
commitb216900093c905b3b20dd45c69e577b192e2f7a3 (patch)
tree4d6ac7d257752a8c54ca77dd58df9753ce357ab6 /lux-python
parent36303d6cb2ce3ab9e36d045b9516c997bd461862 (diff)
Updates to the Lua compiler.
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/commands.md18
-rw-r--r--lux-python/project.lux2
2 files changed, 3 insertions, 17 deletions
diff --git a/lux-python/commands.md b/lux-python/commands.md
index 2e816d319..f33ea9f3f 100644
--- a/lux-python/commands.md
+++ b/lux-python/commands.md
@@ -10,20 +10,11 @@ cd ~/lux/lux-python/ && lein clean && lein lux auto test
```
## Develop
cd ~/lux/lux-python/ \
-&& lein clean \
-&& lein lux auto build
-
-cd ~/lux/lux-python/ \
&& lux clean \
&& lux auto build
## Build JVM-based compiler
cd ~/lux/lux-python/ \
-&& lein clean \
-&& lein lux build \
-&& mv target/program.jar jvm_based_compiler.jar
-
-cd ~/lux/lux-python/ \
&& lux clean \
&& lux build \
&& mv target/program.jar jvm_based_compiler.jar
@@ -32,15 +23,10 @@ cd ~/lux/lux-python/ \
# Try
```
-cd ~/lux/stdlib/ \
-&& lein clean \
-&& java -jar ~/lux/lux-python/target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \
-&& python3 ~/lux/stdlib/target/program.py
-
## Compile Lux's Standard Library's tests using a JVM-based compiler.
cd ~/lux/stdlib/ \
&& lein clean \
-&& java -jar ~/lux/lux-python/jvm_based_compiler.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \
+&& java -jar ~/lux/lux-python/target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \
&& python3 ~/lux/stdlib/target/program.py
```
@@ -48,6 +34,6 @@ cd ~/lux/stdlib/ \
```
cd ~/lux/lux-python/ \
-&& mvn install:install-file -Dfile=jvm_based_compiler.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.6.0-SNAPSHOT -Dpackaging=jar
+&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.6.0-SNAPSHOT -Dpackaging=jar
```
diff --git a/lux-python/project.lux b/lux-python/project.lux
index 53ffe351b..f429d8687 100644
--- a/lux-python/project.lux
+++ b/lux-python/project.lux
@@ -1,5 +1,5 @@
{""
- {#identity ["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT"]
+ {#identity ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"]
#deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
"releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"}