{"id":17178529,"url":"https://github.com/bobbylight/zscriptlanguagesupport","last_synced_at":"2025-06-26T18:34:17.595Z","repository":{"id":19549388,"uuid":"22797894","full_name":"bobbylight/ZScriptLanguageSupport","owner":"bobbylight","description":"Code completion and syntax highlighting for ZScript via RSyntaxTextArea","archived":false,"fork":false,"pushed_at":"2021-06-12T23:49:31.000Z","size":42536,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T21:46:46.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bobbylight.github.io/ZScriptLanguageSupport/","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/bobbylight.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}},"created_at":"2014-08-10T00:09:55.000Z","updated_at":"2021-06-12T23:28:03.000Z","dependencies_parsed_at":"2022-08-24T13:40:22.040Z","dependency_job_id":null,"html_url":"https://github.com/bobbylight/ZScriptLanguageSupport","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bobbylight/ZScriptLanguageSupport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbylight%2FZScriptLanguageSupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbylight%2FZScriptLanguageSupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbylight%2FZScriptLanguageSupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbylight%2FZScriptLanguageSupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobbylight","download_url":"https://codeload.github.com/bobbylight/ZScriptLanguageSupport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobbylight%2FZScriptLanguageSupport/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262123195,"owners_count":23262545,"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-10-15T00:07:36.776Z","updated_at":"2025-06-26T18:34:17.559Z","avatar_url":"https://github.com/bobbylight.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a beta version of ZScript Language Support for `RSyntaxTextArea`.\r\nIt provides syntax highlighting, code completion, and code folding for ZScript.\r\n\r\nAlso included is an [RText](https://github.com/bobbylight/RText) plugin,\r\nproviding all of the above features, as well as other stuff, including:\r\n\r\n* A dialog to search and download scripts directly from PureZC's script\r\n  database, right in the UI.\r\n* More to come!\r\n   \r\nZScript is the scripting language for Zelda Classic, a game engine that allows\r\nthe development of custom 2D Zelda fan games.  For more information, see:\r\n\r\n* http://www.zeldaclassic.com/\r\n* http://www.purezc.net/\r\n\r\nSince this is somewhat of a niche language, it is not included in the\r\n`RSTALanguageSupport` parent project, but rather is a self-contained project\r\nthat depends on it.  It takes full advantage of `RSyntaxTextArea`'s code\r\ncompletion and parsing API's, and serves as an excellent example of integrating\r\nRSTA into an application with a custom or DSL.\r\n\r\n\r\n# Submodules\r\nThere are three submodules:\r\n\r\n## zscript-lang-support\r\nA language support plugin for ZScript for `RSyntaxTextArea`.  This is probably\r\nthe submodule you care about.  This adds the following features for editing\r\nzscript code to `RSyntaxTextArea`:\r\n\r\n* Syntax highlighting and code folding\r\n* Syntax errors are squiggle-underlined\r\n* Code completion is available for the source code, both stdlib functions and\r\n  locally-defined functions, variables, etc.\r\n* A tree view of the source code allows you to jump around the source easily\r\n* `Ctrl+Shift+O` also allows you to navigate by source code constructs\r\n\r\n## zscript-lang-support-demo\r\nThis is a small demo application showing off the features in `zscript-language-support`.\r\nA native build for Windows is included; one for OS X will come soon.\r\n\r\n## zscript-rtext-plugin\r\nA plugin for the `RText` editor, that adds the ZScript functionality above to that\r\napplication specifically.\r\n\r\n\r\n# Building\r\n\r\nThis project depends on `RSyntaxTextArea` and its sister projects and uses\r\n[Gradle](https://gradle.org/) for building.  JDK 14 or newer is also required,\r\nas is [launch4j](https://sourceforge.net/projects/launch4j/files/launch4j-3/3.12/)\r\nif you want to build the wrapper Windows executable.\r\n\r\nTo clone this repository, build the Windows demo application, and\r\nrun it:\r\n\r\n```bash\r\ngit clone https://github.com/bobbylight/ZScriptLanguageSupport.git\r\ncd ZScriptLanguageSupport\r\n./gradlew clean build buildWindowsDemo --warning-mode all\r\n./zscript-lang-support-demo/build/install/zscript-demo/zscript-demo.exe\r\n```\r\n\r\nTo do the same thing on OS X or Linux:\r\n\r\n```bash\r\ngit clone https://github.com/bobbylight/ZScriptLanguageSupport.git\r\ncd ZScriptLanguageSupport\r\n./gradlew clean build installDist --warning-mode all\r\njava -jar zscript-language-support-demo/build/install/zscript-demo/zscript-demo.jar\r\n```\r\n\r\n## OS-Specifics\r\nFor Windows, the `buildWindowsDemo` task generates a small wrapper\r\n`zscript-demo.exe` executable via `launch4j`.  That executable simply\r\ndelegates to running `zscript-demo.jar`.\r\n\r\nFor all other operating systems, you must run the jar directly.  Future\r\nwork includes wrapping the demo in an `.app` bundle on OSX once again\r\n(it used to be, but Java 14 made it tricky to do that).\r\n\r\n# Sister Projects\r\n\r\n* [RSyntaxTextArea](https://github.com/bobbylight/RSyntaxTextArea) provides syntax highlighting, code folding, and many other features out-of-the-box.\r\n* [AutoComplete](https://github.com/bobbylight/AutoComplete) - Adds code completion to RSyntaxTextArea (or any other JTextComponent).\r\n* [RSTALanguageSupport](https://github.com/bobbylight/RSTALanguageSupport) - Code completion for RSTA for the following languages: Java, JavaScript, HTML, PHP, JSP, Perl, C, Unix Shell.  Built on both RSTA and AutoComplete.\r\n* [SpellChecker](https://github.com/bobbylight/SpellChecker) - Adds squiggle-underline spell checking to RSyntaxTextArea.\r\n\r\n# Getting Help\r\n\r\n* Add an issue on GitHub\r\n* Check this [PureZC thread](http://www.purezc.net/forums/index.php?showtopic=55636)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobbylight%2Fzscriptlanguagesupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobbylight%2Fzscriptlanguagesupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobbylight%2Fzscriptlanguagesupport/lists"}