{"id":23056296,"url":"https://github.com/habbes/java-calc","last_synced_at":"2025-10-14T06:31:33.733Z","repository":{"id":78350185,"uuid":"330456896","full_name":"habbes/java-calc","owner":"habbes","description":"Simple Calculator Interpreter in Java to demonstrate basic OOP principles and program design.","archived":false,"fork":false,"pushed_at":"2021-01-17T19:19:01.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T05:19:35.010Z","etag":null,"topics":["calculator","interpreter","java","oop"],"latest_commit_sha":null,"homepage":"","language":"Java","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/habbes.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-17T18:18:29.000Z","updated_at":"2021-01-17T19:19:03.000Z","dependencies_parsed_at":"2023-04-12T00:40:08.556Z","dependency_job_id":null,"html_url":"https://github.com/habbes/java-calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/habbes/java-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/habbes%2Fjava-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/habbes%2Fjava-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/habbes%2Fjava-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/habbes%2Fjava-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/habbes","download_url":"https://codeload.github.com/habbes/java-calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/habbes%2Fjava-calc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018110,"owners_count":26086281,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["calculator","interpreter","java","oop"],"created_at":"2024-12-16T01:14:47.325Z","updated_at":"2025-10-14T06:31:33.724Z","avatar_url":"https://github.com/habbes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Calculator\n\nSimple Calculator/Interpreter in Java to demonstrate basic OOP principles and program design.\n\n## How to run:\n\nClone the repo, and run the command:\n```\n./run.sh\n```\n\nThis will compile and run the program:\n```\nWelcome to the calculator. Enter an expression and press Return at the prompt:\n\u003e let x = 10 + 4\n14\n\u003e let y = x * 2\n28\n\u003e 200 + y - x\n214\n\u003e exit\nBye!\n```\n\n## Features and limitations:\n\n- Supports basic arithmetic operations like: `3 * 500 / 20 + 10`\n- Supports variables assignment:`let x = 10 * 2` and use: `3 + x / 2`\n- Strict syntax that requires a single space between each pair of tokens (e.g. `3+ 2` is **invalid syntax**)\n- Operations are evaluated left to right with **no regard for operator precedence** (i.e. `3 + 2 * 3` will return 15 instead 9)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabbes%2Fjava-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhabbes%2Fjava-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabbes%2Fjava-calc/lists"}