{"id":20373136,"url":"https://github.com/st235/xcalc-core","last_synced_at":"2026-06-10T07:31:46.299Z","repository":{"id":140153861,"uuid":"288972585","full_name":"st235/xcalc-core","owner":"st235","description":"Free open source arithmetic grammar parser 🧮","archived":false,"fork":false,"pushed_at":"2020-09-13T16:04:04.000Z","size":489,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T20:43:52.852Z","etag":null,"topics":["calculator","cpp","grammar","parser","xcalc"],"latest_commit_sha":null,"homepage":"","language":"C++","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/st235.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}},"created_at":"2020-08-20T10:10:41.000Z","updated_at":"2020-09-13T16:05:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a51a10a4-491a-42a6-928a-262ea3b95582","html_url":"https://github.com/st235/xcalc-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/st235/xcalc-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2Fxcalc-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2Fxcalc-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2Fxcalc-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2Fxcalc-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/st235","download_url":"https://codeload.github.com/st235/xcalc-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2Fxcalc-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34142638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["calculator","cpp","grammar","parser","xcalc"],"created_at":"2024-11-15T01:16:44.884Z","updated_at":"2026-06-10T07:31:46.260Z","avatar_url":"https://github.com/st235.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xcalc-core\n\nThe core part of a XCalc project - free open source arithmetic grammar parser\n\n### Grammar rules\n\n```text\nstatement -\u003e calculation\n\ncalculation -\u003e sum\nsum -\u003e product (('+' product)|('-' product))*\nproduct -\u003e factor (('*' factor)|('/' factor))*\nfactor -\u003e short_product | power | term\nshort_product -\u003e number terminal\npower -\u003e term '^' factor\nterm -\u003e prefix_unary | suffix_unary\nterminals -\u003e group | function | variable | number\nprefix_unary -\u003e ('+'|'-')+ (suffix_unary | terminals)\nsuffix_unary -\u003e terminals ('!'|'%')\ngroup -\u003e '(' sum ')'\nfunction -\u003e variable '(' sum ')'\n\nnumber -\u003e any decimal number with dot separator, also dot-first notation (ie '.9') acceptable \nvariable -\u003e starts with one or multiple alphabetic character then zero or more numeral. regexp: ([a-z]|[A-Z])([a-z]|[A-Z])*([0-9])*\n\n---\n'character' - character literal\n|           - logical conjunction\n*           - Kleene operator\n+           - zero or one repetition\n```\n\n### License\n\n```text\nMIT License\n\nCopyright (c) 2020 Alexander Dadukin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst235%2Fxcalc-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fst235%2Fxcalc-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst235%2Fxcalc-core/lists"}