Closed theronic closed 6 years ago
A few options:
magic repl
(tested only on Windows, but should be trivial to modify magic.bat
for UnixNote that Magic is still very experimental! Any feedback / PRs much appreciated!
What command should I run to compile magic? (I'm not a Java guy, but I think javac
is involved. Am running OSX.)
IntelliJ picked up some things, but I don't see jar output in target folder.
There's probably an easy way to compile using IntelliJ but I'm not too familar with that. By default Magic is built using Maven, you can build the combined jar file with:
mvn -Dmaven.test.skip=true install
This will give you a compiled jar file in the target
directory which you can then run with:
java -jar target/magic.jar
If you want a REPL, use:
java -jar target/magic.jar repl
OMG this is great how do I run it?