a fun language for serious programming

Nit on Mac

Install xcode from the app store

With macport

Install macport from https://distfiles.macports.org/MacPorts/

Install packages required to compile Nit and its tools

$ sudo port install boehmgc ccache graphviz libunwind-headers pkgconfig

Install and compile Nit

$ git clone http://nitlanguage.org/nit.git
$ cd nit
$ make

Install more package required by libs and to pass more tests

$ sudo port install curl libsdl2 libsdl2_image ncurses libevent

Run the tests (for fun)

$ cd tests
$ ./testfull.sh

With brew

Install brew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor

Install packages

$ brew install boehmgc ccache graphviz libunwind-headers pkgconfig

Install and compile Nit

$ git clone http://nitlanguage.org/nit.git
$ cd nit
$ make