aboutsummaryrefslogtreecommitdiff
path: root/lux-scheme/commands.md
blob: 11d6e2945874c48d28fd0240c6bcc15d63dddd19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Scheme compiler

## Test

```
cd ~/lux/lux-scheme/ && lein lux auto test
cd ~/lux/lux-scheme/ && lein clean && lein lux auto test
```

## Build

```
## Develop
## NOTE: Must set lux/control/concurrency/thread.parallelism = 1 before compiling to make sure Kawa doesn't cause trouble.
cd ~/lux/lux-scheme/ \
&& lein clean \
&& lein lux auto build
```

## Try

```
## Compile Lux's Standard Library's tests using a JVM-based compiler.
cd ~/lux/stdlib/ \
&& lein clean \
&& time java -jar ~/lux/lux-scheme/target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux

clear && time kawa ~/lux/stdlib/target/program.scm

clear && time kawa ~/lux/stdlib/target/program/1.scm
```