{"id":51288150,"url":"https://github.com/coughyyee/interpreter-cpp","last_synced_at":"2026-06-30T08:01:41.080Z","repository":{"id":363434295,"uuid":"1263349339","full_name":"Coughyyee/interpreter-cpp","owner":"Coughyyee","description":"Building an Interpreter in C++","archived":false,"fork":false,"pushed_at":"2026-06-08T21:51:16.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-08T23:23:35.303Z","etag":null,"topics":["cpp","interpreter"],"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/Coughyyee.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":"2026-06-08T21:45:30.000Z","updated_at":"2026-06-08T21:53:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Coughyyee/interpreter-cpp","commit_stats":null,"previous_names":["coughyyee/interpreter-cpp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Coughyyee/interpreter-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coughyyee%2Finterpreter-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coughyyee%2Finterpreter-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coughyyee%2Finterpreter-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coughyyee%2Finterpreter-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coughyyee","download_url":"https://codeload.github.com/Coughyyee/interpreter-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coughyyee%2Finterpreter-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34957627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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":["cpp","interpreter"],"created_at":"2026-06-30T08:01:40.143Z","updated_at":"2026-06-30T08:01:41.075Z","avatar_url":"https://github.com/Coughyyee.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interpreter In C++\nThis is a little project ive taken upon myself to create an interpreter from scratch, no proper guidance and in C++. Isn't this fun..\n\n## Main Goals\n- Make a semi-decent language that at least includes, apart from the basics, functions and classes/objects.\n- Learn proper C++ techniques and evolve my understanding of the language.\n- Heavy focus on error handling - show informative errors that actually help the user (i love rust errors; we'll see how close we can get).\n- Enforce types within the language for variables (int, float, string, etc.).\n\n## Project Setup\nC++ Version: 23\nC++ Modules: Yes\n\n## Language Features\n\n#### Semicolon ending\n\nStatements and expressions must end in a semicolon. For example `out 10;` must end on a semicolon. This is also true for: printing, varaible declarations, variable modification, stand alone expression statements.\n\n### Operators\n\n#### Equality and Comparison\n\nAll of the following operators are implemented inside of the language.\n* `==` - Equal to.\n* `!=` - Not equal to.\n* `\u003e` - More than.\n* `\u003c=` - More than or equal to.\n* `\u003e` - Less than.\n* `\u003e=` - Less than or equal to.\n\n#### Arithmatic\n\n* `+` - Plus.\n* `-` - Minus.\n* `*` - Multiply.\n* `/` - Divide.\n\n#### Unary\n* `!` - Not (flips boolean).\n* `-` - Negates value.\n\n### Keywords\n\n#### Printing\n\n* `out` - Print, no new line.\n* `outln` - Print with new line appended at the end.\n\n#### Types\n\n* `bool` - Boolean values.\n* `string` - String values.\n* `number` - Number values (integer and floating point).\n\n#### Logic\n\n* `or` - Logic or.\n* `and` - Logic and.\n\n#### Variable Declaration\n\n* `var` - Declare Variable in format: `var \u003cidentifier\u003e -\u003e \u003ctype\u003e = \u003cvalue\u003e` (anything inside of \u003c...\u003e is a placeholder).\n\n#### Looping \n\n* `loop` - Defines an infinite loop or a while like loop. `loop {...` will define an infinite loop. `loop (\u003cexpression\u003e) {...` defines a while like loop.\n\n#### Conditional\n\n* `if` - Defines a if statement. Format: `if (\u003cexpression\u003e) {...`.\n* `else` - Defines an else block to an if, if the condition is falsey. Format: `if (...) {...} else {...`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoughyyee%2Finterpreter-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoughyyee%2Finterpreter-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoughyyee%2Finterpreter-cpp/lists"}