{"id":23148261,"url":"https://github.com/drkwitht/expreval","last_synced_at":"2025-04-04T13:44:49.693Z","repository":{"id":225602162,"uuid":"762953949","full_name":"DrkWithT/ExprEval","owner":"DrkWithT","description":"Parse and evaluate arithmetic expressions.","archived":false,"fork":false,"pushed_at":"2024-03-09T19:47:28.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T23:30:02.595Z","etag":null,"topics":["cpp","math-expression-evaluator","recursive-descent-parser"],"latest_commit_sha":null,"homepage":"","language":"C++","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/DrkWithT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-25T06:43:23.000Z","updated_at":"2024-05-04T19:59:30.000Z","dependencies_parsed_at":"2024-03-08T18:44:52.524Z","dependency_job_id":null,"html_url":"https://github.com/DrkWithT/ExprEval","commit_stats":null,"previous_names":["drkwitht/expreval"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FExprEval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FExprEval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FExprEval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrkWithT%2FExprEval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrkWithT","download_url":"https://codeload.github.com/DrkWithT/ExprEval/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247189588,"owners_count":20898692,"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":["cpp","math-expression-evaluator","recursive-descent-parser"],"created_at":"2024-12-17T17:09:56.782Z","updated_at":"2025-04-04T13:44:49.677Z","avatar_url":"https://github.com/DrkWithT.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README: Math Expr Evaluator\n\n### Brief:\nAn arithmetic expression evaluator written in C++. It uses a recursive descent parser \u0026 AST approach for basic syntax checking and later support for additional syntax if needed.\n\n### Grammar:\n```bnf\n; Some tokens!\nwhitespace ::= (SP | TAB | CR | LF)+\nnumber ::= (DIGIT | \".\")+\noperators ::= \"+\" | \"-\" | \"*\" | \"/\"\n\n; Note: Start parsing from lower precedence and descend to tighter binding precedence rule if needed!\nexpr ::= term\nterm ::= factor ((\"+\" | \"-\") factor)*\nfactor ::= power ((\"*\" | \"/\") power)*\npower ::= unary (\"^\" unary)*\nunary ::= ?(\"-\") number | \"(\" expr \")\"\n```\n\n### Some extras:\n - ~~I must add parenthesis support soon.~~ **DONE**\n - ~~Add a REPL for expressions?~~ **DONE**\n - Make error messages more detailed?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Fexpreval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrkwitht%2Fexpreval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkwitht%2Fexpreval/lists"}