{"id":21647843,"url":"https://github.com/markknol/hx-mathparser","last_synced_at":"2026-01-04T02:50:36.092Z","repository":{"id":15640388,"uuid":"18377399","full_name":"markknol/hx-mathparser","owner":"markknol","description":"Evaluates math expressions. Written in Haxe.","archived":false,"fork":false,"pushed_at":"2019-07-16T07:43:35.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-25T05:11:27.813Z","etag":null,"topics":["expressions","haxe","math","parser"],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markknol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"markknol","custom":["http://paypal.me/markknol"]}},"created_at":"2014-04-02T18:50:19.000Z","updated_at":"2020-03-06T10:21:40.000Z","dependencies_parsed_at":"2022-07-22T01:32:07.924Z","dependency_job_id":null,"html_url":"https://github.com/markknol/hx-mathparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-mathparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-mathparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-mathparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-mathparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markknol","download_url":"https://codeload.github.com/markknol/hx-mathparser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244536441,"owners_count":20468349,"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":["expressions","haxe","math","parser"],"created_at":"2024-11-25T06:51:56.865Z","updated_at":"2026-01-04T02:50:36.057Z","avatar_url":"https://github.com/markknol.png","language":"Haxe","funding_links":["https://patreon.com/markknol","http://paypal.me/markknol"],"categories":[],"sub_categories":[],"readme":"MathParser\n==========\n\nEvaluates math expressions. Uses Haxe. I think it could be used in all platforms, no dependencies on haxe libs/OpenFl/Flambe.\n\n### Examples\n\n```haxe\nMathParser.parse(\"1+2-3/4*5\"); \n// returns -0.75\n\nMathParser.parse(\"1+2--3/4*5\"); \n// returns 6.75\n\nMathParser.parse(\"(1+2--3)/4*5\"); \n// returns 7.5\n\nMathParser.parse(\"(1+2- -3)/(((4*.5)))\"); \n// returns 3.0\n\nMathParser.parse(\"(.1+.2- -.3)/(.4*.5)\"); \n// returns 3.0000000000000004\n\nMathParser.parse(\"0xFF * 10\"); \n// returns 2550\n```\n_The parser assumes that the given expression is valid_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhx-mathparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkknol%2Fhx-mathparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhx-mathparser/lists"}