Overview
ng is an interpreted, dynamically-typed scripting language with the following key features:
- Object-oriented programming support (classes, inheritance, polymorphism)
- Functional programming features (higher-order functions, closures)
- Imperative programming constructs
- Built-in string and collection operations
- Module system for code organization
Execution Model
ng code is executed through the following phases:
- Lexical analysis - converts source code to tokens
- Syntax analysis - builds abstract syntax tree (AST)
- Interpretation - directly executes the AST