This is an experiment at creating an alternate implementation of NetLogo in Common Lisp.
See the wiki for more information.
Using standalone executables
Running from source
If you'd like to run it from source, you're going to need a few things:
- A copy of the clnl source (either from the releases page, version 0.1.0 or via cloning)
- An implementation of sbcl with threads enabled
- The following common lisp libraries (included in deps/common-lisp folder)
crt 10 ask turtles [ fd 1 ] show random 5 ask turtles [ fd 5 ]
Running on OSX
In order to run on OSX, you may have to build your own sbcl instance with threads enabled. See bin/buildosxexec.sh for how it's done when releasing/testing.
Running on Windows
In order to run on Windows, you will need to install a copy of 32bit sbcl with threads enabled, as well as putting a copy of freeglut in that directory. See bin/buildwindowsexec.sh for how it's done when releasing/testing.
Running in a common lisp instance
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)