{"id":24719547,"url":"https://github.com/vihlancevk/calculator","last_synced_at":"2026-04-28T15:40:14.586Z","repository":{"id":192414074,"uuid":"433445241","full_name":"vihlancevk/Calculator","owner":"vihlancevk","description":"First step for create my programming language","archived":false,"fork":false,"pushed_at":"2022-01-31T20:05:38.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T20:14:51.104Z","etag":null,"topics":["c","learning-task","math","recursive-descent-parser","student-project"],"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/vihlancevk.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}},"created_at":"2021-11-30T13:40:15.000Z","updated_at":"2022-01-31T20:06:22.000Z","dependencies_parsed_at":"2023-09-04T18:35:31.180Z","dependency_job_id":null,"html_url":"https://github.com/vihlancevk/Calculator","commit_stats":null,"previous_names":["vihlancevk/calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vihlancevk/Calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihlancevk%2FCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihlancevk%2FCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihlancevk%2FCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihlancevk%2FCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vihlancevk","download_url":"https://codeload.github.com/vihlancevk/Calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihlancevk%2FCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["c","learning-task","math","recursive-descent-parser","student-project"],"created_at":"2025-01-27T11:18:11.440Z","updated_at":"2026-04-28T15:40:09.578Z","avatar_url":"https://github.com/vihlancevk.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calculator\n## Program description\nA simple calculator that currently supports the following set of operations:\n1) addition (+);  \n2) subtraction (-);  \n3) multiplication (*);  \n4) division (/);  \n5) exponentiation (^);  \n6) sine (sin);  \n7) cosine (cos).  \n\nNew mathematical operations are easily added to this calculator (for example, taking the square root sqrt), since it is implemented using a recursive descent algorithm.  \n## Using a calculator\nIt is necessary to write the expression whose value needs to be calculated to a file data.txt (the logic of the calculator includes the standard priority of mathematical operations, as well as the ability to change the priority of operations using parentheses ()), you need to take into account that each expression must end with the $ symbol. Next, run the file for execution main.cpp, after which the calculated value will appear on the screen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihlancevk%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvihlancevk%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihlancevk%2Fcalculator/lists"}