NAAb is an open source programming language created in 2024 by Brandon Mackert.
| #1598on PLDB | 2Years Old |
git clone https://github.com/b-macker/NAAbNAAb is a polyglot programming language that embeds 12 languages (Python, JavaScript, Rust, C++, Go, Nim, Zig, Julia, Ruby, PHP, C#, Shell) in a single file with a built-in LLM governance engine. It includes 50+ governance checks that detect hallucinated APIs, oversimplified stubs, incomplete logic, and security issues in AI-generated code. Features include variable binding across language boundaries, parallel polyglot execution, empirical benchmarking via naab-lang calibrate, and three-tier enforcement (hard/soft/advisory).
main {
let data = <<python
import statistics
statistics.mean([10, 20, 30])
>>
io.write("Mean: " + data)
}| Feature | Supported | Example | Token |
|---|---|---|---|
| Module Pattern | ✓ | ||
| Exceptions | ✓ | ||
| Strings | ✓ | ||
| Floats | ✓ | ||
| Integers | ✓ | ||
| Booleans | ✓ | ||
| Line Comments | ✓ | // A comment | |
| Semantic Indentation | X | ||
| MultiLine Comments | X |
license mit
hasLambdas true
hasPipeOperator true