{"id":16179673,"url":"https://github.com/mivinci/calc","last_synced_at":"2025-04-07T11:45:14.950Z","repository":{"id":128462831,"uuid":"324888272","full_name":"mivinci/calc","owner":"mivinci","description":"🧮 A minimal implementation for an integer calculator in pure C.","archived":false,"fork":false,"pushed_at":"2020-12-28T03:31:06.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T14:40:39.974Z","etag":null,"topics":["pure-c","reverse-polish","reverse-polish-calculator","reverse-polish-notation"],"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/mivinci.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,"publiccode":null,"codemeta":null}},"created_at":"2020-12-28T02:00:14.000Z","updated_at":"2022-10-25T12:32:16.000Z","dependencies_parsed_at":"2024-07-08T02:15:06.759Z","dependency_job_id":null,"html_url":"https://github.com/mivinci/calc","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/mivinci%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivinci%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivinci%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivinci%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mivinci","download_url":"https://codeload.github.com/mivinci/calc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648923,"owners_count":20972942,"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":["pure-c","reverse-polish","reverse-polish-calculator","reverse-polish-notation"],"created_at":"2024-10-10T05:43:45.002Z","updated_at":"2025-04-07T11:45:14.930Z","avatar_url":"https://github.com/mivinci.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculator\n\n🧮 A minimal implementation for an integer calculator in pure C. It uses reverse polish expression to do the calculating as follows: `1*(2+3) =\u003e 1 2 3+* =\u003e 5`\n\n## Install:\n```bash\ngit clone git@github.com:Mivinci/calculator.git\ncd calculator\nmake\nmake install\n```\n\n## Usage:\nTo calculate 1*(2+3), just run:\n\n```\ncalc 1*(2+3)\n```\n\nOr you might want to view the reverse polish expression:\n\n```\ncalc 1*(2+3) -c\n```\n\nOr just run `calc` to enter input mode:\n\n```\ncalc\n\u003e\u003e 1*(2+3)\n5\n```\n\n## Todos\n\n- [ ] Support both float numbers and negative numbers.\n- [ ] Extract from file.\n- [ ] Should I use a tokenizer and a parser?\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmivinci%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmivinci%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmivinci%2Fcalc/lists"}