{"id":29079598,"url":"https://github.com/markusfisch/calc","last_synced_at":"2025-06-27T17:08:19.160Z","repository":{"id":8980546,"uuid":"10725939","full_name":"markusfisch/calc","owner":"markusfisch","description":"A tiny calculator for mathematical expressions in portable C","archived":false,"fork":false,"pushed_at":"2021-04-08T18:38:38.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T13:38:01.439Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markusfisch.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":"2013-06-16T21:24:22.000Z","updated_at":"2021-04-08T18:38:40.000Z","dependencies_parsed_at":"2022-09-04T12:01:11.102Z","dependency_job_id":null,"html_url":"https://github.com/markusfisch/calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/markusfisch/calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusfisch%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusfisch%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusfisch%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusfisch%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusfisch","download_url":"https://codeload.github.com/markusfisch/calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusfisch%2Fcalc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262298770,"owners_count":23289603,"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-06-27T17:06:36.635Z","updated_at":"2025-06-27T17:08:19.148Z","avatar_url":"https://github.com/markusfisch.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calc\n\nA tiny calculator for mathematical expressions in portable C.\n\n## Building\n\nJust run:\n\n\t$ make\n\n## Embedding\n\nDrop `calc.c` and `calc.h` into your project and use `calc()` like this:\n\n\tdouble result = 0;\n\tif (calc(\"3 + 4\", \u0026result, 0)) {\n\t\t...\n\t} else {\n\t\t// syntax error\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusfisch%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkusfisch%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusfisch%2Fcalc/lists"}