About this project
NepaliCode is an open-source project creating a Nepali-inspired programming language (.np files) and a mobile-first Android IDE. The language uses readable Nepali keywords such as `yedi` (if), `natra` (else), `kaam` (def/function), `firta` (return), `lyau` (import), `ko_lagi` (for), `kakshya` (class), `koshish`/`samau`/`antya` (try/except/finally), and logical operators `ra`/`wa`/`hoina` (and/or/not), while preserving familiar programming concepts and block structure.
The Android application (Kotlin + Jetpack Compose + Material 3) provides a complete mobile development workspace: syntax-aware editor with tabs, integrated terminal/REPL, project file browser, diagnostics with teaching-oriented error messages, command palette with AI-assisted actions (Explain Code, Optimize & Modernize), code examples catalog, NPPM package manager with dependency metadata linked to `nepali.toml` manifests, and a built-in syntax reference guide. The language engine includes lexer, parser, AST, interpreter, runtime values, environment handling, linting, tokenization, highlighting, and completion foundations.
Standard-library direction covers modules like `anurodh` (HTTP/API with get/post/put/patch/delete/download/upload), `browser` (automation: khol, click, type, wait, screenshot), `database` (SQLite open/query/close), `file`/`folder` (filesystem), `ganit` (math), `samaya` (time), `json`, `network`, `automation`, `web`, `suraksha` (cryptography), and more. A VS Code extension in `extensions/nepalicode` adds TextMate syntax highlighting, auto-closing brackets, indentation rules, folding, and starter snippets for `.np` files.
The project is in alpha, led by Diwas Khatri under the NepaliSource organization. Roadmap includes stabilizing the mobile editor and runtime, expanding standard-library capabilities, improving completion and tests, then growing the CLI, NPPM registry, formatter, linter, debugger, language server, desktop Studio (NepaliCode Studio), project sharing, and release channels. Licensed MIT.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.