{"id":13733046,"url":"https://github.com/Inky-developer/debris","last_synced_at":"2025-05-08T09:31:28.642Z","repository":{"id":39578433,"uuid":"302011732","full_name":"Inky-developer/debris","owner":"Inky-developer","description":"A powerful datapack generator for minecraft","archived":false,"fork":false,"pushed_at":"2023-11-30T18:58:14.000Z","size":27502,"stargazers_count":15,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T01:33:17.479Z","etag":null,"topics":["compiler","datapack","datapacks","debris","language","minecraft"],"latest_commit_sha":null,"homepage":"https://inky-developer.github.io/debris/debris_lang/","language":"Rust","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/Inky-developer.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-07T11:14:26.000Z","updated_at":"2024-10-02T15:14:02.000Z","dependencies_parsed_at":"2024-11-15T01:41:26.079Z","dependency_job_id":null,"html_url":"https://github.com/Inky-developer/debris","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/Inky-developer%2Fdebris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inky-developer%2Fdebris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inky-developer%2Fdebris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inky-developer%2Fdebris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inky-developer","download_url":"https://codeload.github.com/Inky-developer/debris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253036450,"owners_count":21844217,"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":["compiler","datapack","datapacks","debris","language","minecraft"],"created_at":"2024-08-03T03:00:37.074Z","updated_at":"2025-05-08T09:31:28.086Z","avatar_url":"https://github.com/Inky-developer.png","language":"Rust","funding_links":[],"categories":["Softwares","Uncategorized"],"sub_categories":["Programming Languages compiles to MCFunction","Uncategorized"],"readme":"# Debris Language\n[![ci](https://github.com/Inky-developer/debris/workflows/ci/badge.svg)](https://github.com/Inky-developer/debris/actions)\n[![dependency status](https://deps.rs/repo/github/Inky-developer/debris/status.svg)](https://deps.rs/repo/github/Inky-developer/debris)\n[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/Debris.debris?color=dark%20green\u0026label=Vscode%20Extension)](https://marketplace.visualstudio.com/items?itemName=Debris.debris)\n\nDebris is a powerful language \u0026 compiler which aims to make the process of creating a datapack easier and quicker.\nFor a working prototype in python, take a look at [McScript](https://github.com/Inky-developer/mcscript).\n\nThere is an interactive online playground available: https://inky-developer.github.io/debris-playground/\n\n## Status\nThis language is in a *very* early state. \n\nDocumentation for the Project can be found [here](https://inky-developer.github.io/debris/debris_lang/)\n\nGoal for version 0.1: Feature parity with the mcscript prototype\n  - [x] Internal support for types\n  - [x] Internal support for variables\n  - [x] Support for modules\n  - [x] Support for integers and arithmetic operations (+, -, *, /, %)\n  - [x] Support for booleans and relations (==, !=, \u003c, \u003e, \u003c=, \u003e=)\n  - [x] Support for conditions\n  - [x] Support for recursive loops\n  - [x] Support for functions\n  - [x] Control flow (return statements)\n  - [x] Support for structs\n      - [x] Struct declaration and initialization\n      - [x] Struct objects as function parameters\n      - [x] Associated methods ~~and values~~ for structs\n  - [ ] Support for sum types\n      - [ ] Declaring sum tyes\n      - [ ] Matching on sum types\n  - [x] Function expressions (`comptime my_func = fn() { ... }`)\n  - [ ] Struct expressions (`comptime my_struct = struct { ... }`)\n  - [ ] Interfaces\n  - [x] Support for tuples\n    - [x] tuple patterns for variable assignment\n    - [x] tuple patterns for variable updates\n    - [x] tuple methods, including `.length()`, `.get(0)`, `.added(element)` and `.join(separator)`\n    - [ ] iterating tuples (`comptime for i in (1, 2, 3) { print(i) }`)\n  - [ ] Basic minecraft standard library\n  - [x] Builtin functionality for more control over the generated datapack\n    - [x] `execute` function for inserting any command\n    - [x] `export` function for generating a function at a specific path\n    - [x] `on_tick` function for calling a function every tick\n  - [x] Context manipulators (execute as/at/positioned/...)\n  - [ ] Syntax sugar\n    - [x] In-place operators (+=, -=, *=, /=, %=)\n    - [x] While loops\n    - [x] attribute to declare ticking functions\n    - [ ] syntax sugar for for-loops (Blocked on interfaces?)\n  - [x] Basic optimization passes\n  - [ ] Further optimizations \n  - [x] Automated integration tests\n  - [x] Internal refactoring to remove some recursive implementations\n  - [x] Improved parser for more flexibility\n  - [ ] Good error messages\n\n## Editor Support\nA basic vscode extension can be found at the latest run of the [extensions action](https://github.com/Inky-developer/debris/actions/workflows/editor_extensions.yml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInky-developer%2Fdebris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInky-developer%2Fdebris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInky-developer%2Fdebris/lists"}