Skip to content

Ujjwal-08/hindicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HindiCode - हिंदी में जावास्क्रिप्ट लिखें!

Hindicode is evolving from a runtime keyword translator into a Hindi-first JavaScript compiler pipeline.

💖 Donate

You can support the project here:

What Hindicode Supports Today

  • .hindi.js runtime execution in Node
  • hindicode run, hindicode check, and hindicode transpile
  • multi-file CommonJS-style Hindicode programs
  • browser-targeted transpilation experiments
  • structured diagnostics for compile-time syntax failures

Quick Example

स्थिर नाम = "अर्जुन";

कार्य स्वागत(व्यक्ति) {
    लौटाओ `नमस्ते ${व्यक्ति}`;
}

दिखाओ(स्वागत(नाम));

Install

npm install hindicode

CLI

hindicode run app.hindi.js
hindicode check app.hindi.js
hindicode transpile app.hindi.js

Compiler 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.md
  • PHASE_ONE_CHECKLIST.md
  • PHASE_TWO_PLAN.md
  • PHASE_TWO_CHECKLIST.md
  • VISION.md
  • ROADMAP.md
  • docs/getting-started.md
  • docs/cli-usage.md
  • docs/cli-quick-reference.md
  • docs/language-spec-v1.md
  • docs/compiler-contract.md
  • docs/runtime-support.md
  • docs/source-map-design.md
  • docs/contributor-guide.md
  • docs/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

About

HindiCode - हिंदी में जावास्क्रिप्ट लिखें!

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors