Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Apr 15, 2013
  1. Merge pull request #57 from kch/xcode

    Fixes assembly for issue #36, plus other Xcode warnings
Commits on Apr 2, 2013
  1. @kch
  2. @kch
  3. @kch
Commits on Mar 21, 2013
Commits on Mar 15, 2013
Commits on Mar 12, 2013
  1. minor change to beautifier - ignore colons inside strings

    The new colon-based alignment was also aligning colons in strings, as follows:
       (&img style:(+ "height:60px; width:60px; "
                       "float:right; background-color:#FFF; "
                     "padding:0.5px; margin:5px; "
               "border-radius: 16.67%; "
                  "box-shadow: 0px 0px 1px #AAA;")
               src:(app artworkUrl60:))
    This didn't seem good to me, so now colons inside strings are ignored for the purposes of alignment.
       (&img style:(+ "height:60px; width:60px; "
                      "float:right; background-color:#FFF; "
                      "padding:0.5px; margin:5px; "
                      "border-radius: 16.67%; "
                      "box-shadow: 0px 0px 1px #AAA;")
               src:(app artworkUrl60:))
  2. Merge pull request #56 from JensAyton/master

    Remove duplicate method declaration
  3. @JensAyton
Commits on Mar 4, 2013
  1. Improved beautifier.

    1. The beautifier no longer applies fixed-width indentation
    for any symbols except for "class", which is indented by a
    single column. This (imo) provides less-distracting alignment
    and tightens up the left side of class declarations.
    2. Labels (including selector components) are now aligned
    on their trailing colons.
Commits on Feb 28, 2013
  1. Add support for embedded classes and ids to NuMarkupOperator

    I've been generating a lot of HTML with Nu and decided to
    take this simple extension from the Hiccup Clojure library.
    Now when we specify a markup element with the (&element)
    automatic operator, we can add classes and id values by
    including "." and "#" in the element name.
    % (puts (&div))
    % (puts (&div.x))
    <div class="x"></div>
    % (puts (&div#main))
    <div id="main"></div>
    % (puts (&div#main.x1.x2.x3))
    <div id="main" class="x1" class="x2" class="x3"></div>
    Beware that this means that the '#' can now be included in symbols,
    so if you have code like "this#", you will be unpleasantly surprised
    by this change.
Commits on Feb 18, 2013
  1. @andrewschleifer
  2. @andrewschleifer
Commits on Feb 14, 2013
Commits on Jan 6, 2013
  1. fix typo in README

Commits on Jan 3, 2013
Commits on Dec 18, 2012
  1. @andrewschleifer

    Add "map" to NSDictionary

    andrewschleifer authored committed
    If you send the map: message to a dictionary and it will apply the provided
    callable to each value and return another dictionary with the results set for
    the corresponding keys.
        % (set origin (dict "alpha" 10 "bravo" 20))
        % (set destination (origin map: (do (x y) (+ 1 y))))
        % (destination "bravo")
Commits on Nov 12, 2012
  1. Modifications to directly support HTML markup.

    The &html operator includes the <!DOCTYPE html> prefix.
    By default, only the "void elements" specified in the
    HTML spec are allowed to be empty.
    See section 4.3 of
Commits on Oct 15, 2012
  1. New "nubake" feature: easier baking into classes.

    nubake accepts three new options:
    	--method <methodname>
    	--class <classname>
    	--category <categoryname>
    When these are provided, nubake produces a source file that adds
    the named category to the named class. The category adds a method
    that evaluates the baked Nu code and returns the result. The
    purpose of this is to bake in code that can be evaluated from Nu.
    The code is evaluated in the main Nu parser's context so that
    macros and other objects can be made available to subsequent
    Nu code.
    % nubake --method macros --category Baked --class MyServer --output MyServer+Baked.m
Commits on Sep 12, 2012
Commits on Jul 26, 2012
  1. fixed compiler warnings, removed unnecessary SNOWLEOPARD define, new …

    …labelValue method (deprecating labelName)
  2. simplified build to rely on Xcode command-line tools.

    also fixed unit test that expected "Xcode" to be installed.
    It fails when a developer preview is installed instead (under a different name).
Commits on Jun 10, 2012
Commits on Jun 4, 2012
Commits on Mar 30, 2012
Commits on Mar 29, 2012
  1. @ksjogo
Commits on Mar 26, 2012
  1. @claybridges

    Fix {Makefile,nuke,Nukefile} for /usr/bin/clang

    claybridges authored
    - as of OSX 10.7.3 & Xcode 4.3.1
    - improve logic for default @cc in nuke, so that @cc def will not 
    usually be required in a Nukefile
Commits on Mar 25, 2012
  1. Merge branch 'amalgamated'

    Resolving conflicts:
Something went wrong with that request. Please try again.