public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
Search Repo:
commit  ef3ddcd7102d425b27397db72732a07585e25b15
tree    06f0e9ee1b29eb1539a170886bbd459560d542b7
parent  09fe84aaa26104ae33b8a73e9249688e567927df
nu /
name age message
folder .gitignore Sun Mar 16 14:25:17 -0700 2008 Make Git ignore generated objects: [mkhl]
folder LICENSE Wed Mar 12 13:14:05 -0700 2008 Relicensing to the Apache Public License, v. 2.0. [timburks]
folder Makefile Wed Apr 09 00:53:50 -0700 2008 Removed old debug output [maccheck]
folder NOTICE Wed Mar 12 13:14:05 -0700 2008 Relicensing to the Apache Public License, v. 2.0. [timburks]
folder Nukefile Sun Mar 23 22:55:23 -0700 2008 Added "archive" task to generate Nu-X... [timburks]
folder README Sun Mar 16 09:56:43 -0700 2008 New ifDarwin macro simplifies Nukefiles, minor ... [timburks]
folder Rakefile Tue Apr 08 23:31:35 -0700 2008 Fixed include path in Rakefile (thanks to John ... [Markus Hardt]
folder baked/ Fri May 16 15:30:27 -0700 2008 Reimplemented (NSObject set:) and (ivar-accesso... [timburks]
folder bootstrap Tue May 13 09:07:41 -0700 2008 New alternate bootstrap script by Andrew Norrie. [timburks]
folder examples/ Thu Mar 13 11:32:20 -0700 2008 Linux-related build fixes. [timburks]
folder include/ Tue Apr 01 17:15:35 -0700 2008 Added helper function for creating lists from C. [timburks]
folder iphone/ Fri May 16 16:19:17 -0700 2008 iPhone-related updates. [timburks]
folder libffi/ Mon Jan 28 07:43:45 -0800 2008 Makefiles for bootstrapping mininush and libffi. [timburks]
folder main/ Sun Mar 16 21:22:32 -0700 2008 More fixes for Linux compiler warnings. [timburks]
folder notes/ Wed Mar 12 13:14:05 -0700 2008 Relicensing to the Apache Public License, v. 2.0. [timburks]
folder nu/ Fri May 16 15:30:27 -0700 2008 Reimplemented (NSObject set:) and (ivar-accesso... [timburks]
folder objc/ Fri May 16 17:44:01 -0700 2008 (ivar-accessors) now ensures that its class is ... [timburks]
folder pkg/ Wed Sep 26 23:06:53 -0700 2007 Added nuke task to build installer packages: &q... [timburks]
folder share/ Fri Apr 04 17:40:18 -0700 2008 An update to the emacs nu-mode (2008-04-04) fro... [timburks]
folder test/ Tue May 13 23:16:45 -0700 2008 Corrected method signatures in test/test_macros... [timburks]
folder tools/ Fri May 16 16:19:17 -0700 2008 iPhone-related updates. [timburks]
folder util/ Thu May 15 15:22:27 -0700 2008 Better error messages for libffi failures, mino... [timburks]
README
INTRODUCTION

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.   

LEGAL

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 Neon Design 
Technology, Inc.

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.

INSTALLATION

Installation instructions are in the notes/INSTALL file.

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.

TextMate users can drag and drop share/Nu.tmbundle onto the TextMate 
application icon to add Nu-specific features to TextMate.

AUTHOR

Tim Burks (tim@neontology.com)
Neon Design Technology, Inc.
Los Altos, California, USA
http://www.neontology.com