Clojure for configuration files like with emacs

3 views
Skip to first unread message

BerlinBrown

unread,
Jan 6, 2009, 7:32:09 PM1/6/09
to Clojure
I want to build a clojure application that has config files like with
emacs (not that complex but close). I am guessing I need to call the
eval and load script to load a configuration file, but I was trying
to avoid having the configuration file effect the state of the main
running application.

Does anyone have any tips of example code I could use.

Chouser

unread,
Jan 6, 2009, 11:29:05 PM1/6/09
to clo...@googlegroups.com

Something like this?

(binding [*ns* (create-ns 'my-app.config)] (load-file "config.clj"))

--Chouser

Reply all
Reply to author
Forward
0 new messages