{"id":34667396,"url":"https://github.com/tmpstpdwn/simplemathrepl","last_synced_at":"2026-03-13T23:01:46.011Z","repository":{"id":290040613,"uuid":"973190929","full_name":"tmpstpdwn/SimpleMathREPL","owner":"tmpstpdwn","description":"A simple command-line math evaluator written in C","archived":false,"fork":false,"pushed_at":"2025-07-12T12:17:28.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T07:58:53.547Z","etag":null,"topics":["beginner","c","c-beginner","c-programming-language","evaluator","io","linux","math","math-expression-evaluator","parse","repl","shunting-yard-algorithm","unix"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmpstpdwn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-26T13:11:05.000Z","updated_at":"2025-08-09T07:15:40.000Z","dependencies_parsed_at":"2025-04-26T14:25:18.632Z","dependency_job_id":"3ececf4e-8db5-441d-a267-6df1ba907b79","html_url":"https://github.com/tmpstpdwn/SimpleMathREPL","commit_stats":null,"previous_names":["tmpstpdwn/simplemathrepl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmpstpdwn/SimpleMathREPL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpstpdwn%2FSimpleMathREPL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpstpdwn%2FSimpleMathREPL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpstpdwn%2FSimpleMathREPL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpstpdwn%2FSimpleMathREPL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmpstpdwn","download_url":"https://codeload.github.com/tmpstpdwn/SimpleMathREPL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpstpdwn%2FSimpleMathREPL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30478929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T20:45:58.186Z","status":"ssl_error","status_checked_at":"2026-03-13T20:45:20.133Z","response_time":60,"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":["beginner","c","c-beginner","c-programming-language","evaluator","io","linux","math","math-expression-evaluator","parse","repl","shunting-yard-algorithm","unix"],"created_at":"2025-12-24T19:19:49.797Z","updated_at":"2026-03-13T23:01:46.004Z","avatar_url":"https://github.com/tmpstpdwn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleMathREPL\n\nA simple command-line math evaluator written in C. This program supports basic arithmetic operations, operator precedence, parentheses, and variables. It allows you to evaluate mathematical expressions interactively.\n\n## Features\n\n- **Basic Arithmetic**: Supports `+`, `-`, `*`, and `/` operations.\n- **Operator Precedence**: Follows standard operator precedence (multiplication and division are evaluated before addition and subtraction).\n- **Parentheses**: Supports parentheses `()` for grouping expressions and controlling the evaluation order.\n- **Variables**: You can store results in variables (single-letter variables, `a-z`), and use them in subsequent expressions.\n\n## Usage\n\n1. **Run the Program**:\n   Simply compile and run the program. It will prompt you for input.\n\n   ```bash\n   make\n   ./smrepl\n   ```\n\n2. **Basic Operations**:\n   You can enter expressions like:\n\n    ```bash\n    $ 3 + 5 * 2\n    = 13\n    $ (3 + 5) * 2\n    = 16\n    ```\n\n3. **Variables**:\n\n    You can assign values to variables using the \u003e operator.\n    Variables are single letters from a to z.\n\n    All 26 variables are initiated to 0.\n\n    Example:\n    ```bash\n    $ 1 + 2 \u003e x  # Assigns the result of the expression to variable 'x'\n    = 3\n    $ 3 + 5 \u003e y\n    = 8\n    $ x + y\n    = 11\n    ```\n    \n5. **Exit**:\n   To exit the program, use Ctrl+D.\n\n## LICENSE\n\nThis project is licensed under GPL3 [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmpstpdwn%2Fsimplemathrepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmpstpdwn%2Fsimplemathrepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmpstpdwn%2Fsimplemathrepl/lists"}