ANN: namespace.lsp - Java-like namespaces

Started by itistoday, July 02, 2010, 08:19:53 PM

Previous topic - Next topic

itistoday

I've created a little project that adds Java-like namespaces to newLISP!



You can now do stuff like:


(ns-import 'com.example.*)
(ns-import 'com.example2.Test)

(Test:foo "bar")


In a nutshell, this solves the name clashing issues in newLISP and means newLISP is now much easier to use for large projects.



It's on GitHub and Bitbucket!



http://github.com/taoeffect/namespace-newlisp">http://github.com/taoeffect/namespace-newlisp

http://bitbucket.org/taoeffect/namespace-newlisp">http://bitbucket.org/taoeffect/namespace-newlisp
Get your Objective newLISP groove on.

itistoday

#1
Oh, and btw, this was made possible by the recent addition of the prefix function. :-)
Get your Objective newLISP groove on.

cormullion

#2
It's cool! Thanks. Some useful by-products from your recent Clojure investigations?!

itistoday

#3
Quote from: "cormullion"It's cool! Thanks. Some useful by-products from your recent Clojure investigations?!


Yup!



I actually use http://www.taoeffect.com/other/clj.lsp.html">a newLISP script to run Clojure. :-p
Get your Objective newLISP groove on.