Skip to content

alesk/embed-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Embed Clojure

A template project demonstrating embedding clojure as a scripting environment inside a java host.

Compile

Compile EvalClojure and with clojure.jar (and optionally other required jars) on the CLASSPATH.

    javac -cp $HOME/.m2/repository/org/clojure/clojure/1.6.0/clojure-1.6.0.jar EvalClojure.java
    java EvalClojure

Look at EvalClojure.java for usage examples.

Update!!

Since clojure 1.6, there is a better way to communicate with clojure, namely, through clojure.java.api.Clojure interface. Read this stackoverflow post and java api documentation.

About

A template project demonstrating embed clojure as a scripting environment inside a java host.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors