{"id":13459646,"url":"https://github.com/cortex-js/compute-engine","last_synced_at":"2025-05-14T15:07:02.081Z","repository":{"id":41315418,"uuid":"218685000","full_name":"cortex-js/compute-engine","owner":"cortex-js","description":"An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON","archived":false,"fork":false,"pushed_at":"2025-04-11T15:16:28.000Z","size":14528,"stargazers_count":406,"open_issues_count":43,"forks_count":50,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-12T20:43:45.622Z","etag":null,"topics":["cas","compute-engine","format","javascript","json","latex","math","math-json","symbolic-computation","technical-computing","typescript"],"latest_commit_sha":null,"homepage":"https://cortexjs.io","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/cortex-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-10-31T04:35:01.000Z","updated_at":"2025-04-12T01:59:00.000Z","dependencies_parsed_at":"2024-01-09T20:03:38.001Z","dependency_job_id":"6a27578a-49a7-4ae4-bcc7-668d1e8a4597","html_url":"https://github.com/cortex-js/compute-engine","commit_stats":{"total_commits":1080,"total_committers":15,"mean_commits":72.0,"dds":"0.022222222222222254","last_synced_commit":"a981709c0b46779b3c26117b91238436ef99db2f"},"previous_names":["cortex-js/math-json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortex-js%2Fcompute-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortex-js%2Fcompute-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortex-js%2Fcompute-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortex-js%2Fcompute-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cortex-js","download_url":"https://codeload.github.com/cortex-js/compute-engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254169329,"owners_count":22026211,"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","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":["cas","compute-engine","format","javascript","json","latex","math","math-json","symbolic-computation","technical-computing","typescript"],"created_at":"2024-07-31T10:00:23.848Z","updated_at":"2025-05-14T15:07:02.027Z","avatar_url":"https://github.com/cortex-js.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"math live\" src=\"assets/compute-engine.jpg?raw=true\"/\u003e\n\u003c/div\u003e\n\n\u003ch3\u003e\u003cstrong\u003eCortex Compute Engine\u003c/strong\u003e\u003c/h3\u003e\n\u003ch1\u003eSymbolic manipulation and numeric evaluation of MathJSON expressions\u003c/h1\u003e\n\n[MathJSON](https://cortexjs.io/math-json/) is a lightweight mathematical\nnotation interchange format based on JSON.\n\nThe Cortex Compute Engine can parse LaTeX to MathJSON, serialize MathJSON to\nLaTeX or MathASCII, format, simplify and evaluate MathJSON expressions.\n\nReference documentation and guides at\n[cortexjs.io/compute-engine](https://cortexjs.io/compute-engine/).\n\n[![](https://dcbadge.vercel.app/api/server/yhmvVeJ4Hd)](https://discord.gg/yhmvVeJ4Hd)\n\n## Using Compute Engine\n\n```bash\n$ npm install --save @cortex-js/compute-engine\n```\n\n```js\nimport { ComputeEngine } from \"@cortex-js/compute-engine\";\n\nconst ce = new ComputeEngine();\n\nce.parse(\"2^{11}-1 \\\\in \\\\Z\").evaluate().print()\n// ➔ \"True\"\n```\n\n## FAQ\n\n**Q** How do I build the project?\n\n[Build](BUILD.md) instructions\n\n## Related Projects\n\n\u003cdl\u003e\n  \u003cdt\u003e\u003ca href=\"https://cortexjs.io/math-json/\"\u003eMathJSON\u003c/a\u003e\u003c/dt\u003e\n  \u003cdd\u003eA lightweight mathematical notation interchange format\u003c/dd\u003e  \n  \u003cdt\u003e\u003ca href=\"https://cortexjs.io/mathlive\"\u003eMathLive\u003c/a\u003e (on \u003ca href=\"https://github.com/arnog/mathlive\"\u003eGitHub\u003c/a\u003e)\u003c/dt\u003e\n  \u003cdd\u003eA Web Component for math input.\u003c/dd\u003e  \n  \u003cdt\u003e\u003ca href=\"https://cortexjs.io/cortex\"\u003eCortex\u003c/a\u003e (on \u003ca href=\"https://github.com/cortex-js/compute-engine/tree/master/src/cortex\"\u003eGitHub\u003c/a\u003e)\u003c/dt\u003e\n  \u003cdd\u003eA programming language for scientific computing\u003c/dd\u003e  \n\u003c/dl\u003e\n\n## Support the Project\n\n- \u003cspan style='font-size:1.5em'\u003e🌟\u003c/span\u003e Star the GitHub repo (it really helps)\n- \u003cspan style='font-size:1.5em'\u003e💬\u003c/span\u003e Ask questions and give feedback on our\n  [Discussion Forum](https://cortexjs.io/forum/)\n- \u003cspan style='font-size:1.5em'\u003e📨\u003c/span\u003e Drop a line to arno@arno.org\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":["语言资源库","TypeScript"],"sub_categories":["typescript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcortex-js%2Fcompute-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcortex-js%2Fcompute-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcortex-js%2Fcompute-engine/lists"}