{"id":19152603,"url":"https://github.com/bamless/interpreter","last_synced_at":"2025-05-07T05:46:43.554Z","repository":{"id":56146869,"uuid":"101494820","full_name":"bamless/interpreter","owner":"bamless","description":"A simple intepreter written in java.","archived":false,"fork":false,"pushed_at":"2021-01-29T13:07:31.000Z","size":362,"stargazers_count":33,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T19:05:18.978Z","etag":null,"topics":["c","compiler","interpreter","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/bamless.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}},"created_at":"2017-08-26T15:31:41.000Z","updated_at":"2025-03-25T03:17:59.000Z","dependencies_parsed_at":"2022-08-15T13:31:31.598Z","dependency_job_id":null,"html_url":"https://github.com/bamless/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/bamless%2Finterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamless%2Finterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamless%2Finterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamless%2Finterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamless","download_url":"https://codeload.github.com/bamless/interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823685,"owners_count":21809707,"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":["c","compiler","interpreter","java"],"created_at":"2024-11-09T08:18:29.423Z","updated_at":"2025-05-07T05:46:43.535Z","avatar_url":"https://github.com/bamless.png","language":"Java","readme":"# interpreter\n\n## What is it?\nThis project contains a toy c-like programming language that i'm implementing while studying compiler theory. \nFor now the language is implemented by an interpreter that runs directly on the parsed AST, ~but in the future i may compile it down to bytecode or x86 machine code~ - I since have moved to [another language](https://github.com/bamless/jstar) that implements a full featured bytecode virtual machine and compiler, so if you're intrested in compilation to bytecode you can take a look at that.\n\n## Examples \nYou can find some examples of the language in [src/main/resources](https://github.com/bamless/interpreter/tree/master/src/main/resources)\n\n## Compiling to bytecode\nThe branch [bytecode](https://github.com/bamless/interpreter/tree/bytecode) contains a simple experimental compiler that outputs bytecode to be run by [this](https://github.com/bamless/virtual-machine) virtual machine.\nThe implementation is pretty minimal and won't be expanded further, as I moved to [another project](https://github.com/bamless/jstar), but feel free to take a peek in there\n\n## How do i run it?\nIf you use an IDE, simply import the project as a `maven project`.\n\nIf not, manually compile it using the maven command:\n```\nmvn package\n```\nA jar file will be created in the `target` folder. Then, to run the interpreter, type in the terminal:\n```\njava -jar target/interpreter-1.0.jar src/main/resources/test.c+-\n``` \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamless%2Finterpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamless%2Finterpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamless%2Finterpreter/lists"}