{"id":20103781,"url":"https://github.com/jasperdrescher/scripting-language-interpreter","last_synced_at":"2025-03-02T17:25:47.327Z","repository":{"id":101745856,"uuid":"151845377","full_name":"jasperdrescher/Scripting-language-interpreter","owner":"jasperdrescher","description":"A full-featured high-level scripting language interpreter written in C# and Java.","archived":false,"fork":false,"pushed_at":"2019-05-25T19:18:16.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T04:42:19.957Z","etag":null,"topics":["csharp","interpreter","java","language","script"],"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/jasperdrescher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-10-06T14:00:04.000Z","updated_at":"2023-04-25T08:04:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f986380c-05ff-4c4d-b31b-adec7330c4fa","html_url":"https://github.com/jasperdrescher/Scripting-language-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/jasperdrescher%2FScripting-language-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasperdrescher%2FScripting-language-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasperdrescher%2FScripting-language-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasperdrescher%2FScripting-language-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasperdrescher","download_url":"https://codeload.github.com/jasperdrescher/Scripting-language-interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241543350,"owners_count":19979514,"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":["csharp","interpreter","java","language","script"],"created_at":"2024-11-13T17:37:56.073Z","updated_at":"2025-03-02T17:25:47.301Z","avatar_url":"https://github.com/jasperdrescher.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scripting-language-interpreter\nA full-featured scripting language interpreter based on [Crafting Interpreters](http://craftinginterpreters.com/).\nThis interpreter handles scripts written in the [Lox](http://www.craftinginterpreters.com/the-lox-language.html) language, a high-level scripting language based on the ECMA specifications of JavaScript.\n\n# About this project\nThis project is at the forefront of an open-source serious game (currently in pre-production). The goal is to write a scripting language interpreter that can perform runtime behaviour in game engines like Unity.\n\n## The interpreter\nThis interpreter performs a few steps when receiving input:\n1. Lexical analysis\n2. Parsing\n3. Static analysis\n4. Intermediate representation\n5. Optimization\n6. Code generation\n7. Runtime representation\n\n## The Lox language\n[Lox](http://www.craftinginterpreters.com/the-lox-language.html) is similair to high-level scripting languages like JavaScript and Lua. Two of the main aspects are:\n- Dynamic typing\n- Automatic memory management\n\nBesides those aspects Lox can handle:\n- Data types\n- Expressions\n- Statements\n- Variables\n- Control flows\n- Functions\n- Classes\n\nAn example of Lox code:\n```javascript\n// This is a test\nvar test = 5;\nfor (var i = 0; i \u003c test; i = i + 1)\n{\n    print i;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasperdrescher%2Fscripting-language-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasperdrescher%2Fscripting-language-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasperdrescher%2Fscripting-language-interpreter/lists"}