Discover and explore top open-source AI tools and projects—updated daily.
jordanhubbardMinimal language for AI code generation
Top 57.6% on SourcePulse
NanoLang is an experimental programming language engineered for LLM code generation, featuring a minimal, unambiguous syntax and mandatory testing. It transpiles to C, offering native performance and enhanced code quality for developers and AI systems alike.
How It Works
NanoLang employs prefix notation (e.g., (+ a (* b c))) to eliminate operator precedence ambiguity, simplifying parsing for both humans and AI. The language transpiles to C, ensuring native performance and broad compatibility. A core design tenet is mandatory testing, requiring every function to have an associated shadow test block, enforcing disciplined code quality.
Quick Start & Requirements
cd nanolang, then run make build to compile the compiler.Highlighted Details
shadow test blocks for every function.Result<T, E>).ncurses and sdl.Maintenance & Community
The project welcomes contributions, with specific areas for improvement outlined in CONTRIBUTING.md. No specific community links (e.g., Discord, Slack) or notable sponsors are detailed in the provided README.
Licensing & Compatibility
Licensed under the Apache License 2.0. This license generally permits commercial use and integration into closed-source projects without significant restrictions.
Limitations & Caveats
Native Windows binary generation (.exe) is not currently supported; users must utilize WSL2. Full support for generic functions, particularly for standard library helpers like Result unwrapping, is still under development.
17 hours ago
Inactive
ezelikman