Nasimi 1.0 is an experimental Azerbaijani language layer over Python. It helps Azerbaijani-speaking children learn programming with familiar words while still running on Python underneath.
Nasimi currently supports:
azj: Azerbaijani with Latin alphabetazb: Azerbaijani with Arabic alphabet- terminal execution through the
nasimicommand - local browser playground through
nasimi serve - VS Code syntax support packages for both alphabets
./install
nasimi azj examples/azj/sayHello.nasimiThe installer creates a nasimi command in ~/.local/bin by default. To install somewhere else:
NASIMI_INSTALL_DIR=/usr/local/bin ./installOld short form:
nasimi azj examples/azj/calculator.nasimi
nasimi azb examples/azb/calculator.nasimiExplicit commands:
nasimi run azj examples/azj/calculator.nasimi
nasimi translate azj examples/azj/calculator.nasimi
nasimi servenasimi serve starts the local playground API and prints a browser URL. The static playground.html page can be opened anywhere, but code execution requires the local server because browsers cannot run the local Python binary directly.
qoy adlar = ["Aylin", "Tural", "Leyla"]
funksiya salamla(ad):
qaytar "Salam, " + ad
gəz adlar içində ad:
yaz(salamla(ad))
əgər say(adlar) == 3 isə:
yaz("Üç dost hazırdır")
əks halda:
yaz("Siyahıya bax")قوی adlar = ["آیلین", "تورال", "لیلا"]
فونکسییا salamla(ad):
قایتار "سلام، " + ad
گز adlar ایچینده ad:
یاز(salamla(ad))
اگر سای(adlar) == 3 ایسه:
یاز("اوچ دوست حاضردیر")
عکس حالدا:
یاز("لیستهیه باخ")
Read docs.html for the web documentation, or DOCUMENTATION.md for the Markdown version. Both include the full bilingual reference, grammar examples, command list, and vocabulary tables.
Project pages:
- index.html: GitHub Pages introduction
- docs.html: HTML documentation
- playground.html: browser playground for
nasimi serve
- Added
./installfor a terminal-widenasimicommand. - Made the command path-safe, so it can run from any directory.
- Added
run,translate, andserveCLI commands while keeping the oldnasimi azj file.nasimiform. - Reworked translation to use Python tokenization, so strings and comments are no longer accidentally translated.
- Added more natural Azerbaijani grammar forms, including
əgər ... isə,əks halda,qoy,funksiya, andgəz siyahı içində ad. - Added local playground execution through the same Nasimi interpreter.
- Added GitHub Pages landing page and bilingual documentation.
- More classroom examples and exercises
- Better runtime error messages that point back to original
.nasimilines - Packaged releases for Linux/macOS/Windows
- Expanded editor integrations
Contributions are welcome: grammar ideas, examples, documentation, tests, and beginner-friendly teaching material all help.
MIT
