{"id":25663773,"url":"https://github.com/maxxsoft/simple-calc","last_synced_at":"2025-10-14T13:06:59.791Z","repository":{"id":133590178,"uuid":"80975547","full_name":"MaxXSoft/simple-calc","owner":"MaxXSoft","description":"A simple calculator based on a recursive descent parser.","archived":false,"fork":false,"pushed_at":"2017-02-09T08:33:43.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T13:07:31.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaxXSoft.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":"2017-02-05T07:03:47.000Z","updated_at":"2017-02-05T09:26:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddf3f56a-6fea-4c4e-8b69-25136b9cb675","html_url":"https://github.com/MaxXSoft/simple-calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaxXSoft/simple-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxXSoft%2Fsimple-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxXSoft%2Fsimple-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxXSoft%2Fsimple-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxXSoft%2Fsimple-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxXSoft","download_url":"https://codeload.github.com/MaxXSoft/simple-calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxXSoft%2Fsimple-calc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261296911,"owners_count":23137218,"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":[],"created_at":"2025-02-24T05:19:01.937Z","updated_at":"2025-10-14T13:06:59.785Z","avatar_url":"https://github.com/MaxXSoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-calc\nA simple calculator based on a recursive descent parser.\n\n### Usage\nBuild and then run in terminal. You will see this information: \n```\n\na simple expression calculator by MaxXing\nbased on a recursive descent parser\n\n input \u003e _\n```\nEnter the mathematical expression ending with a question mark after the **input \u003e** cursor. Like: \n```\n input \u003e 1 + 1 ?\n```\nAll of the spaces in your input will be ignored.\n\nThen press enter: \n```\n input \u003e 1 + 1 ?\nresult \u003e 2.000000\n input \u003e _\n```\nThe result is 2.\n\n### Supported Operators\nThis calculator supports only the following operators：\n* **Brackets:** (, )\n* **Mathematical operation:** **, *, /, %, +, -\n* **Bit operation:** \u003c\u003c, \u003e\u003e, \u0026, ^, |\n* **Logical operation:** \u003c=, \u003c, \u003e=, \u003e, ==, !=\n\n### Reference\n* LLVM Tutorial: [Kaleidoscope: Implementing a Parser and AST](http://llvm.org/docs/tutorial/LangImpl02.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxxsoft%2Fsimple-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxxsoft%2Fsimple-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxxsoft%2Fsimple-calc/lists"}