BanglaScript is a transpiler that converts Bangla (Bengali) syntax into JavaScript, enabling native Bengali speakers to code in their mother tongue. Current stable version is 4.1.0, released with regular updates. It offers a CLI, REPL, project templates, caching, and full support for modern JavaScript features including async/await, classes, and modules. Differentiates from other language-localization projects by providing a complete toolchain (build, watch, eval) and TypeScript type definitions.
npm install banglascriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs globally, creates a project, writes a simple BanglaScript file, and runs it using the CLI.
Rebuild all .bjs files with v4. Review generated JS for breaking changes like variable scoping.
Use 'bjs run <file>' for eval-like behavior or 'bjs build' with stdin redirection.
Always use the predefined keyword map; refer to the README table.
Use '--translit' (default) to convert identifiers to transliterated Latin script for better tool compatibility.
Run 'npm install -g banglascript' to install globally.
Use .bjs extension for BanglaScript files; avoid mixing syntaxes.
Add '$(npm root -g)/bin' to PATH or use 'npx bjs'.
No dependency data recorded yet.