prog8/p8vm.sh

10 lines
439 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2018-09-11 22:51:48 +00:00
2019-04-20 11:26:04 +00:00
PROG8CLASSPATH=./compiler/build/classes/kotlin/main:./compiler/build/resources/main
KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
2019-01-12 00:59:32 +00:00
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar
2018-09-11 22:51:48 +00:00
2019-07-09 03:09:13 +00:00
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.vm.stackvm.MainKt $*
2019-07-02 02:39:53 +00:00
# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm