Skip to content
Nu is an interpreted Lisp that builds on the Objective-C runtime and Foundation framework.
Objective-C Nu Emacs Lisp HTML Ruby Shell Makefile
Branch: master
Clone or download
Latest commit 08b07df Jul 29, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Xcode iOS Simulator testing Apr 20, 2017
baked Changes to allow Nu to run with GNUstep-base on Linux. Dec 14, 2008
examples Removed macro-0 from .nu files and tools. One regression remains for … Jul 4, 2011
include/Nu Combine all Nu source code into a single Nu.[hm] pair of files. Jul 3, 2011
libffi @ 7d504f7 updated libffi Mar 30, 2017
main streamlining for Lion/iOS5 runtimes. Dropping GNUstep support. Jun 15, 2011
notes Change `cp -rp` to `cp -Rp` Nov 26, 2017
nu Disabled smart quotes on nu console Feb 15, 2014
objc Update version to 2.3.0 Jul 29, 2019
pkg Company name changed. Jun 12, 2011
share/nu delete xcode.lang.character since it catches single-quote Sep 11, 2010
test added shieds for quasiquote nesting Jul 15, 2016
tools Merge pull request #93 from ryandesign/cp-rp Jul 27, 2019
util New block-based handler support using imp_implementationWithBlock. Jun 18, 2011
.gitignore Fix Linux builds (Ubuntu 14.04) Apr 16, 2017
.gitmodules Modernization Jul 14, 2016
.travis.yml Ubuntu 18.04 (bionic) (#95) Jul 29, 2019
LICENSE Relicensing to the Apache Public License, v. 2.0. Mar 12, 2008
Makefile added linker flags -lm and -ldl Aug 3, 2013
NOTICE Company name changed. Jun 12, 2011
Nukefile Merge pull request #93 from ryandesign/cp-rp Jul 27, 2019 Ubuntu 18.04 (bionic) (#95) Jul 29, 2019
bootstrap Change `cp -rp` to `cp -Rp` Nov 26, 2017 Created Sep 28, 2015 removed hard-coded /Developer paths, added top-level to more… Jun 11, 2011 Ubuntu 18.04 (bionic) (#95) Jul 29, 2019 Created Sep 28, 2015

Build Status


Hello and welcome to Nu.

I created Nu because I wanted a better way to write software.

I wanted to write with a language as flexible and powerful as Lisp, but I also wanted to be able to work with the many libraries and high-performance subsystems written in C, including the ones that I write myself. So a tight integration with C was my highest priority; that ruled and drove the implementation of Nu. That's why Nu is "C over lambda."

It is easier to integrate with C when you have a disciplined way of structuring C code. Popular scripting languages (Python, Ruby, Lua, etc.) make many implementation-dependent impositions on the C code that they call. Their artifacts are often called "glue code" and are usually ugly, cumbersome, and unpleasant to generate.

Objective-C provides a proven way of structuring C code that has no scripting language implementation dependencies. But it can do much more than that. Objective-C can also serve as a platform for a powerful dynamic language.
Nu was designed to take full advantage of that. It was also designed to provide many of the elements of successful scripting languages, notably Ruby, while adding the syntactic simplicity and flexibility of Lisp.


Nu is copyrighted open-source software that is released under the Apache License, version 2.0. For details on the license, see the LICENSE file. In its use to name a programming language, "Nu" is a trademark of Radtastical Inc.


Macintosh / Ubuntu

These are the instructions for installing Nu on a Macintosh or Linux system. Linux builds require several additional dependencies. The included script can be used to install these dependencies on a system running Ubuntu 18.04 (and possibly other versions). Installation instructions for some other UNIX-based operating systems (Debian, OpenSolaris, and FreeBSD) are in notes/OBSOLETE and will probably not work without modifications. Macintosh and Ubuntu builds are verified with Travis.

If you've installed Nu previously using a package manager (e.g. Fink, MacPorts), start by using the package manager to uninstall the old version.

Building Nu

  1. Use make to build mininush, a minimal version of the Nu shell.
$ make
  1. Now use mininush to run nuke to complete the Nu build process. This builds Nu.framework and nush, the Nu shell.
$ ./mininush tools/nuke

Installing & Testing

  1. Use mininush again to install Nu, nush, and the Nu tools.
$ ./mininush tools/nuke install

Since the copying step uses sudo, you will be prompted for your password.

  1. Test your installation.
$ nuke test

From now on, you can use the installed nush to run nuke. To see for yourself, rebuild everything from scratch:

$ nuke clobber
$ nuke
$ nuke install

See the Nukefile for other useful tasks.

System Requirements

On Macintosh systems, Nu requires Mac OS X version 10.5 or greater. It is also possible to build Nu to run on Linux systems and the Apple iPhone.

Going Further

  • notes/DEMO contains a simple tutorial exercise that can acquaint you with Nu.
  • notes/USAGE describes a few of the ways that you can use Nu.
  • notes/ERRORS contains some pitfalls that I've encountered when programming with Nu.
  • notes/TODO contains some open issues that I'd like to address in Nu.
  • The examples directory contains several fun and interesting examples.


Tim Burks (
Radtastical Inc.
Palo Alto, California, USA

You can’t perform that action at this time.