Skip to content

Commit ac70ae6

Browse files
committed
scripts
1 parent d83f49d commit ac70ae6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

p8compile.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set KOTLINPATH=%USERPROFILE%/.IdeaIC2019.1/config/plugins/Kotlin
55
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar;./parser/antlr/lib/antlr-runtime-4.7.2.jar
66

77
java -cp %PROG8CLASSPATH%;%LIBJARS% prog8.CompilerMainKt %*
8+
9+
@REM if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar

p8compile.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
55
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:./parser/antlr/lib/antlr-runtime-4.7.2.jar
66

77
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*
8+
9+
# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar

p8vm.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set KOTLINPATH=%USERPROFILE%/.IdeaIC2019.1/config/plugins/Kotlin
55
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar
66

77
java -cp %PROG8CLASSPATH%;%LIBJARS% prog8.StackVmMainKt %*
8+
9+
@REM if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm

p8vm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
55
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar
66

77
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.StackVmMainKt $*
8+
9+
# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm

0 commit comments

Comments
 (0)