{"id":20346421,"url":"https://github.com/redstonewizard08/dpscript","last_synced_at":"2025-07-25T00:44:02.066Z","repository":{"id":237350746,"uuid":"794172997","full_name":"RedstoneWizard08/DPScript","owner":"RedstoneWizard08","description":"A programming language for datapacks, inspired by SethBling's CBScript.","archived":false,"fork":false,"pushed_at":"2024-10-10T23:51:46.000Z","size":399,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T00:51:49.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/RedstoneWizard08.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":"2024-04-30T15:40:18.000Z","updated_at":"2024-10-16T10:52:59.000Z","dependencies_parsed_at":"2024-05-03T20:26:10.225Z","dependency_job_id":null,"html_url":"https://github.com/RedstoneWizard08/DPScript","commit_stats":null,"previous_names":["redstonewizard08/dpscript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedstoneWizard08%2FDPScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedstoneWizard08%2FDPScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedstoneWizard08%2FDPScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedstoneWizard08%2FDPScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedstoneWizard08","download_url":"https://codeload.github.com/RedstoneWizard08/DPScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501886,"owners_count":21114681,"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-11-14T22:12:59.545Z","updated_at":"2025-04-12T00:51:59.456Z","avatar_url":"https://github.com/RedstoneWizard08.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DPScript\n\nDPScript is a transpiled programming language to aid in Datapack development, inspired by CBScript.\n\n# Features\n\n- Extremely comfortable syntax\n- A friendly and familiar syntax\n- An IR form to allow other syntaxes to grow on top of DPScript's framework\n- Advanced conditionals\n- Scoreboard \u0026 store manipulation\n- A batteries-included standard library (WIP)\n- Full array support\n- Support for loops\n- Compile-time constants\n- Easy text components and NBT manipulation\n- Functions \u0026 subroutines\n- Tags\n- Init \u0026 Tick blocks\n- Modules\n- Imports \u0026 Exports\n- A language server for auto-completion (Coming Soon!)\n- Support for your favorite IDEs (WIP)\n- A fully-fledged package registry and build system (Coming Soon!)\n- And much more!\n\nDPScript features a fully custom tokenizer, lexer, validator, and AST to provide an extremely comfortable\nsyntax while being very stable. By merging all imported files into a single AST it can provide the best\nerror detection and validation possible. Don't worry anymore about strange issues when making datapacks!\n\n## TODO List\n\n### Core\n\n- [x] Tokenizer\n- [x] AST\n- [x] Lexer\n- [x] AST Validator\n- [x] IR (DPIR)\n- [x] Codegen\n- [x] Build System\n\n### Language Features\n\n- [x] Functions\n- [x] Variables\n- [x] Compile-time constants\n- [x] Imports\n- [x] Exports\n- [x] If/else statements\n- [x] Subroutines \u0026 goto\n- [x] `for entity in selector` loops\n- [ ] `for ... in ...` loops\n- [ ] `for ... in [0..3]` loop unrolling\n\n### QoL\n\n- [x] Syntax Highlighting\n- [x] IR Syntax Highlighting\n- [ ] More CLI commands and options\n- [ ] Language server\n- [ ] Code formatter\n\n### Future Plans\n\n- [ ] Package Registry\n- [ ] Build system support for the package registry\n- [ ] IR-level optimizer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredstonewizard08%2Fdpscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredstonewizard08%2Fdpscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredstonewizard08%2Fdpscript/lists"}