This is an experiment at creating an alternate implementation of NetLogo in Common Lisp.
If you'd like to run it from source, you're going to need a few things:
bin/nl and bin/run.lisp have been added for convenience to run the netlogo instance. Not very many commands are implemented, but it should alert you to that. A good test is
crt 10
ask turtles [ fd 1 ]
show random 5
ask turtles [ fd 5 ]
If you'd like to run using your own sbcl instance, you can attach the clnl.asd file wherever you link asd files, and then use:
(asdf:load-system :clnl)
(clnl:run)
Pure common lisp implentation of Java's StrictMath class. StrictMath is based on the pure software math library fdlibm, and as such, this solution should be equivalent and portable.
In the true "scratch an itch" category of software development, this library only does things as strictly needed by clnl in order to be consistent with regard to the JVM implementation of NetLogo. Only the following things are implemented and tested:
Anything else that works can be considered a pleasant surprise.
This library lifts substantially from the evita-common-lisp implementation, as is noted in the LICENSE file. Outside of that, functions are attempted ports of fdlibm functions, in as close as possible to a line for line translation. As such, the files are similarly bound by the licenses included therein.
The following are depended on by strictmath
This is a small experiment in creating some of the underlying tools that allows CLNL to implement NetLogo UI functionality.