Skip to content

nbuilding/N-lang

Repository files navigation

N

Version Installs Memory Issues Open PRs Open

A programming language by N Building with features such as modular imports.

Install N

Shell (Mac, Linux):

curl -fsSL https://github.com/nbuilding/N-lang/raw/main/install.sh | sh

PowerShell (Windows):

iwr https://github.com/nbuilding/N-lang/raw/main/install.ps1 -useb | iex

Install a specific version

Shell (Mac, Linux):

curl -fsSL https://github.com/nbuilding/N-lang/raw/main/install.sh | sh -s v1.0.0

PowerShell (Windows):

$v="1.0.0"; iwr https://github.com/nbuilding/N-lang/raw/main/install.ps1 -useb | iex

Learn N

See the docs

Python instructions

See python/.

Have something cool in N?

Bugs:

See issues.

JavaScript

The JavaScript version uses Node, TypeScript, and Nearley.

See how to run it in the js/ folder.

Web editor

An IDE is available at https://nbuilding.github.io/N-lang/. It uses the JS version and Monaco, the same editor used in VSCode. The code for the editor is available in the web/ folder.