A scripting language interpreter inspired by the expressive linguistics of Naija (Nigerian Pidgin English).
Programming should not require abandoning your cultural identity.
For over 75 million speakers of Nigerian Pidgin English, learning to code has meant translating thoughts between languages before expressing computational logic.
NaijaScript eliminates this cognitive overhead by embracing authentic Pidgin expressions as first-class programming constructs.
When you write:
make age get 25
if to say (age pass 18) start
shout("You fit vote!")
end
you are not just writing code but thinking computationally in your natural linguistic patterns.
This is more than syntax translation. It represents a fundamental shift toward inclusive technology that recognizes linguistic diversity as strength. By removing artificial barriers, NaijaScript opens programming education to millions while demonstrating that powerful software can emerge from any cultural context.
The language proves this philosophy through performance. In benchmarks, NaijaScript often outperforms JavaScript and Python in string manipulation, mathematical computation, and algorithmic tasks making cultural authenticity and technical excellence complementary goals.
Read more in this article.
While NaijaScript aims to be a practical scripting language, it currently has some limitations:
- No package management or extensive standard library yet
- Designed for educational and scripting use cases, not large-scale applications
- Lacks IDE support and advanced tooling
Linux/macOS
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/xosnrdev/naijascript/master/scripts/install.sh | shWindows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/xosnrdev/naijascript/master/scripts/install.ps1 | iex"These scripts download the latest stable release, install the naija interpreter, and add the install directory to your PATH. You may need to restart your terminal after installation.
Verify the install
naija --versionExpected output example:
naijascript 0.11.5
See the Installation Guide for more.
Create hello.ns:
shout("Hello, World!")
Run it:
naija hello.nsFor help:
naija helpThe language features are intentionally small and focused. I am open to hearing different perspectives. If you have ideas for new features or improvements that you think would be a good addition, feel free to open an issue or discussion.
This project is licensed under the MIT License