mikera / magic

Experimental typed JVM Lisp inspired by Clojure
Eclipse Public License 1.0
32 stars 2 forks source link

How do I run this thing? #13

Closed theronic closed 6 years ago

theronic commented 6 years ago

OMG this is great how do I run it?

mikera commented 6 years ago

A few options:

Note that Magic is still very experimental! Any feedback / PRs much appreciated!

theronic commented 6 years ago

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.

mikera commented 6 years ago

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