{"id":20618800,"url":"https://github.com/anthhon/calculator","last_synced_at":"2025-03-06T19:44:38.305Z","repository":{"id":210264794,"uuid":"725118647","full_name":"Anthhon/calculator","owner":"Anthhon","description":"Terminal based calculator made in C.","archived":false,"fork":false,"pushed_at":"2024-01-11T20:20:24.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T05:07:26.319Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anthhon.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}},"created_at":"2023-11-29T13:30:48.000Z","updated_at":"2024-01-10T18:41:24.000Z","dependencies_parsed_at":"2024-01-11T22:25:08.812Z","dependency_job_id":"d9c5894e-ebc4-4d57-be48-1434262394af","html_url":"https://github.com/Anthhon/calculator","commit_stats":null,"previous_names":["anthhon/calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2Fcalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2Fcalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2Fcalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2Fcalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anthhon","download_url":"https://codeload.github.com/Anthhon/calculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277653,"owners_count":20101536,"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":"2024-11-16T12:09:31.988Z","updated_at":"2025-03-06T19:44:38.268Z","avatar_url":"https://github.com/Anthhon.png","language":"C","readme":"# Calculator\n\n`Calculator` is a terminal based calculator implemented entirely in C.\n\n## Usage\n\n```bash\ncalc \u003cformula\u003e\n```\n\n## Installing\n\n```bash\ngit clone git@github.com:Anthhon/calculator.git\ncd calculator\nmake build-linux # or make build-windows\n./build/calc -t\n```\n\nAfter using these commands above, you should see a sequence of successful messages on your screen, signalizing that the application is working correctly. After that, the program can be installed automatically into your Linux system by using this command:\n\n```bash\nmake install-linux\n```\n\n## Project Roadmap\n\n- [X] Arguments parsing\n- [X] Implement lexer to tokenize input\n- [X] Implement formula interpreter\n- [X] Create test script\n\n## Features\n\n- [X] Handle 4 basic operations (+, -, *, /)\n- [X] Handle number powering (^)\n- [X] Negative number operations\n- [X] Float number operations\n- [X] Handle {[()]} symbols\n- [ ] Handle logarithmic\n\n## Contact\n\nIf you have any questions, suggestions, or need assistance, feel free to reach out to the project maintainers by [opening an issue](https://github.com/Anthhon/calculator/issues).\n\nAlso, don't forget to check the [project roadmap section](https://github.com/Anthhon/calculator#project-roadmap) and see if anything interest you.\n\nWe appreciate your interest in contributing to `calculator` and look forward to your contributions!\n\n### References\n\n- [How to write an interpreter from scratch](https://www.toptal.com/scala/writing-an-interpreter)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthhon%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthhon%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthhon%2Fcalculator/lists"}