{"id":28042436,"url":"https://github.com/yashrajgithub/mathlang-compiler","last_synced_at":"2026-05-07T14:40:51.958Z","repository":{"id":290895229,"uuid":"975909849","full_name":"Yashrajgithub/MathLang-Compiler","owner":"Yashrajgithub","description":"MathLang Compiler is an AI-powered web application that translates natural language mathematical expressions into executable JavaScript code. Built with React, TypeScript, and Vite, it enables seamless code generation and execution from plain English inputs, showcasing the power of language processing in computational logic.","archived":false,"fork":false,"pushed_at":"2025-05-01T13:49:54.000Z","size":749,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T14:48:12.336Z","etag":null,"topics":["compiler","compiler-design","grammar-parser","react","tokenization","typescript","vite"],"latest_commit_sha":null,"homepage":"https://math-lang-compiler.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yashrajgithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-01T06:08:39.000Z","updated_at":"2025-05-01T13:49:57.000Z","dependencies_parsed_at":"2025-05-01T07:22:57.973Z","dependency_job_id":"18e6547d-7779-4056-a654-2ff74484d725","html_url":"https://github.com/Yashrajgithub/MathLang-Compiler","commit_stats":null,"previous_names":["yashrajgithub/mathlang-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yashrajgithub/MathLang-Compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yashrajgithub%2FMathLang-Compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yashrajgithub%2FMathLang-Compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yashrajgithub%2FMathLang-Compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yashrajgithub%2FMathLang-Compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yashrajgithub","download_url":"https://codeload.github.com/Yashrajgithub/MathLang-Compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yashrajgithub%2FMathLang-Compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281371793,"owners_count":26489526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler","compiler-design","grammar-parser","react","tokenization","typescript","vite"],"created_at":"2025-05-11T14:47:30.275Z","updated_at":"2025-10-28T02:03:19.664Z","avatar_url":"https://github.com/Yashrajgithub.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💻 MathLang Compiler\n\n\u003e **Transform plain English math into executable code.**\n\u003e An advanced AI-powered tool that parses natural language math expressions and generates real JavaScript code.\n\n[🌐  Live Demo](https://math-lang-compiler.vercel.app/)\n\n---\n\n## 🚀 Overview\n\n**MathLang Compiler** is a cutting-edge web application designed to convert simple natural language math expressions into executable JavaScript code. With a focus on intuitive input, real-time generation, and execution, this tool bridges the gap between human-readable language and computational logic.\n\nIdeal for:\n- Demonstrating NLP + code execution synergy\n- Educational purposes\n- Rapid prototyping of logic from descriptive inputs\n\n---\n\n## ✨ Features\n\n- 🧠 AI-inspired rule-based parser for natural language math\n- 🧾 Auto-generates clean, executable JavaScript code\n- ▶️ Run code directly in-browser with output display\n- 💬 Built-in expression examples for quick testing\n- 🎥 Lightweight animation/WebM to enhance UI\n- 🎨 Clean and responsive interface using Tailwind CSS\n\n---\n\n## 📸 Preview\n\n![screenshot](https://github.com/Yashrajgithub/MathLang-Compiler/blob/main/Preview.png)\n*Live preview:* 👉 https://math-lang-compiler.vercel.app/\n\n---\n\n## 🛠️ Tech Stack\n\n| Tech                      | Description                                     |\n|---------------------------|-------------------------------------------------|\n| ⚛️ React                   | Frontend framework                              |\n| 🧑‍💻 TypeScript              | Static typing for JavaScript                    |\n| ⚡ Vite                    | Fast build tool                                 |\n| 🧩 PrismJS                 | Syntax highlighting for code editor             |\n| 💅 Tailwind CSS            | Utility-first CSS framework                     |\n| 📦 React Simple Code Editor | Embedded code editor                            |\n\n---\n\n💡 Example Inputs  \nTry any of the following in the input box:\n\nsum of 10 and 20  \ndifference of 50 and 15  \nsquare of 9  \nproduct of x and y where x is 5 and y is 4  \nsum of a and b where a is 4 and b is 8  \n\n\n---\n\n## 🧑‍💻 Getting Started\n\n### 🔧 Prerequisites  \n- Node.js ≥ 18  \n- npm or yarn\n\n### 📦 Installation\n\n```bash\n# Clone the repo\ngit clone https://github.com/Yashrajgithub/MathLang-Compiler.git\ncd mathlang-compiler\n\n# Install dependencies\nnpm install\n\n# Run locally\nnpm run dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashrajgithub%2Fmathlang-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashrajgithub%2Fmathlang-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashrajgithub%2Fmathlang-compiler/lists"}