GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DuarteVi/nit: Nit language

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13,815 Commits
13,815 Commits

Folders and files

NameName
Last commit message
Last commit date
benchmarks
benchmarks
 
 
c_src
c_src
 
 
clib
clib
 
 
contrib
contrib
 
 
doc
doc
 
 
examples
examples
 
 
lib
lib
 
 
misc
misc
 
 
share
share
 
 
src
src
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.gitmodules
.gitmodules
 
 
.mailmap
.mailmap
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Changelog
Changelog
 
 
LICENSE
LICENSE
 
 
LICENSE-BSD
LICENSE-BSD
 
 
LICENSE-GPL-2
LICENSE-GPL-2
 
 
LICENSE-GPL-3
LICENSE-GPL-3
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 

Repository files navigation

Nit is an expressive language with a script-like syntax, a friendly type-system and aims at elegance, simplicity and intuitiveness.

Nit has a simple straightforward style and can usually be picked up quickly, particularly by anyone who has programmed before. While object-oriented, it allows procedural styles.

The Nit Compiler (nitc) produces efficient machine language binaries.

Some Nit features:

  • Pure Object-Oriented.
  • Multiple Inheritance.
  • Realist typing policy.
  • Light and clear syntax.

Requirements:

  • gcc http://gcc.gnu.org/ (or a compatible C compiler)
  • pkg-config http://www.freedesktop.org/wiki/Software/pkg-config/
  • ccache http://ccache.samba.org/ to improve recompilation
  • libgc-dev http://hboehm.info/gc/
  • libunwind http://nongnu.org/libunwind

Those are available in most Linux distributions

$ sudo apt-get install build-essential ccache libgc-dev libunwind-dev pkg-config

and on OS X using brew

$ brew install ccache bdw-gc libunwind-headers pkgconfig

or with MacPorts

$ sudo port install ccache boehmgc libunwind-headers pkgconfig

Important files and directories:

  • benchmarks/ Script to bench the compilers
  • bin/ The Nit tools
  • c_src/ C code of nitc (needed to bootstrap)
  • clib/ C code needed by nitc to compile programs
  • contrib/ Various Nit programs (may or may not be useful)
  • doc/ Documentation
  • examples/ Program examples written in Nit
  • lib/ Nit standard library
  • LICENCE License of the software
  • Makefile Bootstrap the Nit tools
  • misc/ Some additional files for commons text editors and tools
  • NOTICE.md List of the authors
  • README This file
  • share/ Common resources used by tools
  • src/ The Nit tool sources (written in Nit)
  • tests/ Non-regression test-suite

How to start:

$ make
$ bin/nitc examples/hello_world.nit
$ ./hello_world

You can source misc/nit_env.sh to setup your environment like PATH, MANPATH and bash completion. To have your environment automatically configured at login, just source it with install as argument.

$ . misc/nit_env.sh install

More tools:

Additional tools can also be compiled but require more dependencies.

  • graphviz http://www.graphviz.org/ to enable graphs with the nitdoc tool

  • libcurl https://curl.haxx.se/libcurl/ for the nit package manager nitpm

  • libevent https://libevent.org/ for the nit documentation server nitweb

  • libmongoc http://mongoc.org/ also for nitweb

    $ sudo apt-get install graphviz libcurl4-openssl-dev libevent-dev libmongoc-dev $ make more

Contributing:

To contribute to Nit, please see CONTRIBUTING.

The best way to ask the team for advice, submit bugs or request features, is through the use of Github issues, using the appropriate tag (forum, feature-request, bug).

Information, contacts and help:

  • Website http://www.nitlanguage.org
  • Issues https://github.com/nitlang/nit/issues
  • Chatroom https://gitter.im/nitlang/nit

About

Nit language

nitlanguage.org

Resources

Readme

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.