{"id":22188624,"url":"https://github.com/vonr/cao","last_synced_at":"2025-06-24T10:36:47.115Z","repository":{"id":56899745,"uuid":"475463107","full_name":"Vonr/cao","owner":"Vonr","description":"Calc-ium Oxide, a simple stack based command line calculator written in rust","archived":false,"fork":false,"pushed_at":"2022-04-09T10:51:54.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-25T15:56:48.666Z","etag":null,"topics":["calculator","cli","rust","stack-based","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vonr.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}},"created_at":"2022-03-29T13:47:15.000Z","updated_at":"2024-09-20T10:35:40.000Z","dependencies_parsed_at":"2022-08-21T02:20:25.633Z","dependency_job_id":null,"html_url":"https://github.com/Vonr/cao","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vonr/cao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonr%2Fcao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonr%2Fcao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonr%2Fcao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonr%2Fcao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vonr","download_url":"https://codeload.github.com/Vonr/cao/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vonr%2Fcao/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261652844,"owners_count":23190350,"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":["calculator","cli","rust","stack-based","terminal-based"],"created_at":"2024-12-02T11:11:44.780Z","updated_at":"2025-06-24T10:36:47.072Z","avatar_url":"https://github.com/Vonr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CaO\n[![Crates.io](https://img.shields.io/crates/v/calcium-oxide)](https://crates.io/crates/calcium-oxide)\n\nCalc-ium Oxide, a simple stack based command line calculator written in rust\n\n## Examples\n```sh\n# Calculate golden ratio\n$ cao 1 5 sqrt + 2 /\n1.618033988749895\n\n# Calculate the greatest common divisor of 372 and 64\n$ cao 372 64 gcd\n4\n\n# Calculate the first 20 fibonnaci numbers\n$ cao 1 21 seq fib map\n1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765\n\n# Calculate the ratio of the number of numbers in (1..1000000] that\n# are prime to the number that are composite to 5 decimal places\n$ cao 1 1000000 seq len 0 store prime map + fold dup 0 take swap - / 5 dp\n0.08518\n```\n\n## Documentation\n\nRefer to [DOCS.md](https://github.com/Vonr/cao/blob/master/DOCS.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonr%2Fcao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvonr%2Fcao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvonr%2Fcao/lists"}