{"id":21420761,"url":"https://github.com/rgwohlbold/interpreter-ice","last_synced_at":"2025-03-16T20:11:54.508Z","repository":{"id":148271421,"uuid":"104367535","full_name":"rgwohlbold/interpreter-ice","owner":"rgwohlbold","description":"Java lexer, parser and interpreter for a c-style programming language","archived":false,"fork":false,"pushed_at":"2017-09-23T02:49:16.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-23T06:32:07.733Z","etag":null,"topics":["interpreter","java","lexer","parser"],"latest_commit_sha":null,"homepage":null,"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/rgwohlbold.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}},"created_at":"2017-09-21T15:43:37.000Z","updated_at":"2024-01-13T23:57:16.000Z","dependencies_parsed_at":"2023-05-19T14:45:16.293Z","dependency_job_id":null,"html_url":"https://github.com/rgwohlbold/interpreter-ice","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/rgwohlbold%2Finterpreter-ice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Finterpreter-ice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Finterpreter-ice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgwohlbold%2Finterpreter-ice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgwohlbold","download_url":"https://codeload.github.com/rgwohlbold/interpreter-ice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926072,"owners_count":20369910,"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":["interpreter","java","lexer","parser"],"created_at":"2024-11-22T20:21:46.463Z","updated_at":"2025-03-16T20:11:54.502Z","avatar_url":"https://github.com/rgwohlbold.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003einterpreter-ice\u003c/h1\u003e\n\u003ch3\u003eDescription\u003c/h3\u003e\nThis is a simple Java interpreter and parser, inspired by Ruslan Spivak's tutorials on writing a Pascal interpreter in Python. \nThe language syntax (currently named iCe) is just C without semicolons (who needs those anyway?). The interpreter currently supports arithmetic expressions and variable assignments and prints out all assigned variables.\n\u003ch3\u003eStructure\u003c/h3\u003e\nThe Program is divided into three parts:\n\u003col\u003e\n\u003cli\u003eThe \u003cb\u003eLexer\u003c/b\u003e, also called \u003cb\u003eTokenizer\u003c/b\u003e, reads in the Text and converts it into Tokens with defined TokenTypes.\u003c/li\u003e\n\u003cli\u003eThe \u003cb\u003eParser\u003c/b\u003e receives the Tokens from the Lexer and creates an \u003cb\u003eAbstract Syntax Tree\u003c/b\u003e (\u003cb\u003eAST\u003c/b\u003e)\u003c/li\u003e\n\u003cli\u003eThe \u003cb\u003eInterpreter\u003c/b\u003e gets the Abstract Syntax Tree from the Parser and recursively \"visits\" every Node and executes the actions specified.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch3\u003eLinks\u003c/h3\u003e\n\u003ca href=\"https://ruslanspivak.com/lsbasi-part1/\"\u003eRuslan Spivak's tutorials\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgwohlbold%2Finterpreter-ice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgwohlbold%2Finterpreter-ice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgwohlbold%2Finterpreter-ice/lists"}