All Projects → nitlang → Nit

nitlang / Nit

Licence: other
Nit language

Programming Languages

c
50402 projects - #5 most used programming language
language
365 projects

Labels

Projects that are alternatives of or similar to Nit

Cub
The Cub Programming Language
Stars: ✭ 198 (-8.76%)
Mutual labels:  compiler
Cparser
C99 parser and frontend for libfirm
Stars: ✭ 209 (-3.69%)
Mutual labels:  compiler
Urlang
Urlang is JavaScript with a sane syntax
Stars: ✭ 215 (-0.92%)
Mutual labels:  compiler
Nxdk
The cross-platform, open-source SDK to develop for original Xbox: *new* xdk
Stars: ✭ 200 (-7.83%)
Mutual labels:  compiler
Transcrypt
Python 3.7 to JavaScript compiler - Lean, fast, open! -
Stars: ✭ 2,502 (+1053%)
Mutual labels:  compiler
Ppci
A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
Stars: ✭ 210 (-3.23%)
Mutual labels:  compiler
Tengo
A fast script language for Go
Stars: ✭ 2,528 (+1064.98%)
Mutual labels:  compiler
Retyped
Access 3600+ libraries from C# and let Bridge.NET compile your project into JavaScript.
Stars: ✭ 216 (-0.46%)
Mutual labels:  compiler
Compiler
Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Stars: ✭ 209 (-3.69%)
Mutual labels:  compiler
Mimium
mimium (MInimal Musical medIUM) a programming language as an infrastructure for sound and music.
Stars: ✭ 212 (-2.3%)
Mutual labels:  compiler
Binaryen.js
A buildbot for binaryen.js, a port of Binaryen to the Web, with TypeScript support.
Stars: ✭ 201 (-7.37%)
Mutual labels:  compiler
8cc.vim
C Compiler written in Vim script
Stars: ✭ 205 (-5.53%)
Mutual labels:  compiler
Customasm
💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Stars: ✭ 211 (-2.76%)
Mutual labels:  compiler
Xdpw
XD Pascal: A small embeddable self-hosting Pascal compiler for Windows. Supports Go-style methods and interfaces
Stars: ✭ 199 (-8.29%)
Mutual labels:  compiler
Emojicode
😀😜🔂 World’s only programming language that’s bursting with emojis
Stars: ✭ 2,561 (+1080.18%)
Mutual labels:  compiler
Bridge
♠️ C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.
Stars: ✭ 2,216 (+921.2%)
Mutual labels:  compiler
Ichbins
A tiny self-hosting Lisp-to-C compiler
Stars: ✭ 210 (-3.23%)
Mutual labels:  compiler
Silt
An in-progress fast, dependently typed, functional programming language implemented in Swift.
Stars: ✭ 217 (+0%)
Mutual labels:  compiler
Lumen
An alternative BEAM implementation, designed for WebAssembly
Stars: ✭ 2,742 (+1163.59%)
Mutual labels:  compiler
Dmd
dmd D Programming Language compiler
Stars: ✭ 2,498 (+1051.15%)
Mutual labels:  compiler

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:

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.

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:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].