{"id":13782587,"url":"https://github.com/assyrianic/Urhay-Interpreter","last_synced_at":"2025-05-11T15:32:38.453Z","repository":{"id":122076722,"uuid":"162857158","full_name":"assyrianic/Urhay-Interpreter","owner":"assyrianic","description":"a small, educational AST interpreter that implements a dynamically-typed, C-like language.","archived":false,"fork":false,"pushed_at":"2018-12-28T17:40:19.000Z","size":72,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-21T10:53:48.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/assyrianic.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}},"created_at":"2018-12-23T02:43:54.000Z","updated_at":"2023-07-04T08:25:56.000Z","dependencies_parsed_at":"2024-01-07T23:06:14.430Z","dependency_job_id":"e60e20fe-04f0-4042-9cda-e92636ed3120","html_url":"https://github.com/assyrianic/Urhay-Interpreter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assyrianic%2FUrhay-Interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assyrianic%2FUrhay-Interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assyrianic%2FUrhay-Interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assyrianic%2FUrhay-Interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assyrianic","download_url":"https://codeload.github.com/assyrianic/Urhay-Interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588777,"owners_count":21932324,"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":"2024-08-03T18:01:39.584Z","updated_at":"2025-05-11T15:32:37.861Z","avatar_url":"https://github.com/assyrianic.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Urhay Interpreter\na small, educational AST interpreter that implements a dynamically-typed, C-like language.\n\n## Example Code:\n```javascript\nmain()\n{\n\tvar i = 5, x = 8;\n\tfunc1(ptr_test, \u0026x);\n\tif i==5 {\n\t\ti+=2;\n\t}\n\treturn i;\n}\n\nfunc1(f, x)\n{\n\tf(x);\n}\n\nptr_test(ref)\n{\n\t@ref = 10;\n}\n\nfib(n)\n{\n\treturn n\u003c2 ? n : fib(n-1) + fib(n-2);\n}\n```\n\n## Features:\n* Basic Integer \u0026 Float Math (division not implemented yet).\n* Function Calls (recursive is supported!).\n* Pointers and pointer operations for passing variable by reference.\n* Function Pointers.\n* `if-else` conditional statements.\n* `while` loops (implemented as `for`).\n* `return` statements.\n* Basic arithmetic ops like `+ - *`.\n* Basic bitwise ops like `\u0026 | ^ \u003c\u003c \u003e\u003e`.\n* Basic logical ops like `\u0026\u0026 ||`\n* Basic comparison ops like `!= == \u003c \u003e \u003c= \u003e=`.\n* Basic variables which are dynamically typed and can be used with both integer, float, and pointer operations alike.\n* Ignores C++ style `//` and C style `/* */` comments.\n* ternary operators\n* Compound assignments like `+= -= *=`\n* Mixed integer and float expressions resolve to float\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassyrianic%2FUrhay-Interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassyrianic%2FUrhay-Interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassyrianic%2FUrhay-Interpreter/lists"}