How ashusharma1999/hindi-dsl-react works
Project type and purpose
• This is a single-page frontend application (built with Create React App) that introduces a custom Hindi DSL (“.ved” files) on top of React.
• Purpose: let developers write React components in Hindi syntax, transpile them to JSX, and render them in the browser using Material UI.
File structure
• Top-level:
• package.json / package-lock.json: Node.js + npm config, dependency list, custom script “transpile-ved.”
• transpile-ved.js: CLI script that parses/transforms .ved into .jsx/JS.
• public/: static assets (index.html, manifest.json, robots.txt).
• src/: React source code and assets.
– App.js, Ganaka.jsx: core components.
– Ganaka.ved: Hindi DSL component.
– index.js: React entry point.
– reportWebVitals.js, setupTests.js, App.test.js: logging & tests.
• It follows the CRA convention and adds a custom DSL preprocessing step.
README for insights
• Built on React.js via Create React App.
• Custom script “npm run transpile-ved” to convert .ved files.
• Uses Material UI for styling and component library.
• Target audience: Hindi-speaking learners and developers.