{"id":18319884,"url":"https://github.com/bitwalker/rustcalc","last_synced_at":"2025-04-09T14:23:21.634Z","repository":{"id":35003202,"uuid":"39095538","full_name":"bitwalker/rustcalc","owner":"bitwalker","description":"A tiny command line calculator built in Rust for a code challenge","archived":false,"fork":false,"pushed_at":"2015-07-16T02:12:49.000Z","size":392,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T08:20:49.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nigeltao/taowm","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitwalker.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}},"created_at":"2015-07-14T19:17:57.000Z","updated_at":"2015-07-15T04:15:17.000Z","dependencies_parsed_at":"2022-09-04T13:22:52.003Z","dependency_job_id":null,"html_url":"https://github.com/bitwalker/rustcalc","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/bitwalker%2Frustcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Frustcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Frustcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Frustcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitwalker","download_url":"https://codeload.github.com/bitwalker/rustcalc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054268,"owners_count":21039967,"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-05T18:14:35.310Z","updated_at":"2025-04-09T14:23:21.614Z","avatar_url":"https://github.com/bitwalker.png","language":"Rust","readme":"## rustcalc\n\nA tiny command line calculator built in Rust for a code challenge.\n\nIt supports `+`, `-`, `/`, `*`, and `^` operators, as well as the\nusage of `-` as negation. Grouping with `()` is also allowed. Numbers\ncan either be integers or arbitrary-precision floats.\n\n## Example\n\n```bash\n$ ./bin/rustcalc\nWelcome to rustcalc!\nTo quit, just type `exit` and press ENTER.\nType an expression and press ENTER to evaluate: 3.5+(2-1)*(10^2)/2\nResult: 3.5+(2-1)*(10^2)/2 == 53.5\nType an expression and press ENTER to evaluate: exit\n$\n```\n\n## Usage (from binary)\n\n1. Download `bin/rustcalc` or `bin/rustcalc.exe`\n2. From the command line: `./rustcalc` or `.\\rustcalc.exe`\n\n## Usage (from source)\n\n1. Install Rust (nightly is required for some feature flags in use)\n2. Clone rustcalc repository\n3. From the command line: `cd rustcalc \u0026\u0026 cargo run`\n\n## Benchmarks\n\n1. Install Rust (nightly)\n2. Clone rustcalc repository\n3. From the command line: `cd rustcalc \u0026\u0026 cargo bench`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwalker%2Frustcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwalker%2Frustcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwalker%2Frustcalc/lists"}