ANN: namespace.lsp - Java-like namespaces

Notices and updates
Locked
itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

ANN: namespace.lsp - Java-like namespaces

Post by itistoday »

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

You can now do stuff like:

Code: Select all

(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://bitbucket.org/taoeffect/namespace-newlisp
Get your Objective newLISP groove on.

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Re: ANN: namespace.lsp - Java-like namespaces

Post by itistoday »

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

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: ANN: namespace.lsp - Java-like namespaces

Post by cormullion »

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

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Re: ANN: namespace.lsp - Java-like namespaces

Post by itistoday »

cormullion wrote:It's cool! Thanks. Some useful by-products from your recent Clojure investigations?!
Yup!

I actually use a newLISP script to run Clojure. :-p
Get your Objective newLISP groove on.

Locked