Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

NAAb

< >

NAAb is an open source programming language created in 2024 by Brandon Mackert.

#1598on PLDB 2Years Old
Download source code:
git clone https://github.com/b-macker/NAAb
Homepage · Source Code · Docs

NAAb 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).


Example from the web:
main { let data = <<python import statistics statistics.mean([10, 20, 30]) >> io.write("Mean: " + data) }

Language features

Feature Supported Example Token
Module Pattern ✓
Exceptions ✓
Strings ✓
Floats ✓
Integers ✓
Booleans ✓
Line Comments ✓ // A comment
Semantic Indentation X
MultiLine Comments X

- Build the next great programming language · Add · Add Prompt · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v178.2.3

license mit

hasLambdas true

hasPipeOperator true