hindicode
v1.4.0
Published
Run JavaScript with Hindi keywords
Maintainers
Readme
HindiCode - हिंदी में जावास्क्रिप्ट लिखें!
Hindicode is evolving from a runtime keyword translator into a Hindi-first JavaScript compiler pipeline.
What Hindicode Supports Today
.hindi.jsruntime execution in Nodehindicode run,hindicode check, andhindicode transpile- multi-file CommonJS-style Hindicode programs
- browser-targeted transpilation experiments
- structured diagnostics for compile-time syntax failures
Quick Example
स्थिर नाम = "अर्जुन";
कार्य स्वागत(व्यक्ति) {
लौटाओ `नमस्ते ${व्यक्ति}`;
}
दिखाओ(स्वागत(नाम));Install
npm install hindicodeCLI
hindicode run app.hindi.js
hindicode check app.hindi.js
hindicode transpile app.hindi.jsCompiler Direction
Phase 1 now includes:
- keyword inventory module
- tokenizer
- parser-strategy layer
- compiler contract
- runtime registration module
- CLI entrypoints
- parser, CLI, integration, and scenario coverage
Best-Supported Phase 1 Use Cases
- learning JavaScript in Hindi
- Node scripts and utilities
- multi-file CommonJS projects
- browser-oriented transpilation with mocked or real browser globals
Current Limits
Not yet fully promised in Phase 1:
- full ESM runtime execution
- React/Angular integrations
- source maps
- framework loaders
- full AST parser behavior
Important Docs
PHASE_ONE_PLAN.mdPHASE_ONE_CHECKLIST.mdPHASE_TWO_PLAN.mdPHASE_TWO_CHECKLIST.mdVISION.mdROADMAP.mddocs/getting-started.mddocs/cli-usage.mddocs/cli-quick-reference.mddocs/language-spec-v1.mddocs/compiler-contract.mddocs/runtime-support.mddocs/source-map-design.mddocs/contributor-guide.mddocs/how-to-add-keyword.md
Contributing
If you add language features, please update tests and docs together. Phase 1 is focused on correctness, diagnostics, and compiler structure.
License
MIT
