The NG Programming Language

Overview

ng is an interpreted, dynamically-typed scripting language with the following key features:

Execution Model

ng code is executed through the following phases:

  1. Lexical analysis - converts source code to tokens
  2. Syntax analysis - builds abstract syntax tree (AST)
  3. Interpretation - directly executes the AST