{"id":13526925,"url":"https://github.com/RockstarLang/rockstar","last_synced_at":"2025-04-01T08:30:48.484Z","repository":{"id":38849040,"uuid":"141827644","full_name":"RockstarLang/rockstar","owner":"RockstarLang","description":"Home of the Rockstar programming language","archived":false,"fork":false,"pushed_at":"2024-10-28T19:03:57.000Z","size":6926,"stargazers_count":6879,"open_issues_count":53,"forks_count":223,"subscribers_count":123,"default_branch":"main","last_synced_at":"2024-10-29T14:59:05.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codewithrockstar.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RockstarLang.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":"2018-07-21T16:10:34.000Z","updated_at":"2024-10-27T02:54:52.000Z","dependencies_parsed_at":"2024-01-03T13:45:38.410Z","dependency_job_id":"6d0bec0a-d8c0-404e-b8a1-172af92b820e","html_url":"https://github.com/RockstarLang/rockstar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockstarLang%2Frockstar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockstarLang%2Frockstar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockstarLang%2Frockstar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RockstarLang%2Frockstar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RockstarLang","download_url":"https://codeload.github.com/RockstarLang/rockstar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222709943,"owners_count":17026767,"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-08-01T06:01:37.621Z","updated_at":"2025-04-01T08:30:48.478Z","avatar_url":"https://github.com/RockstarLang.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","\u003ca name=\"JavaScript\"\u003e\u003c/a\u003eJavaScript"],"sub_categories":[],"readme":"# Do you wanna get rocked?\n\nThis is Rockstar, an esoteric programming language whose syntax is inspired by the lyrics to 80s hard rock and heavy metal songs.\n\n![Rockstar Logotype](rockstar-logo-strapline-sticker.png)\n# What's Here\n\nRockstar has three main components:\n\n* `/Starship` contains the Starship interpreter for Rockstar, built in C# and .NET\n* `/cm-lang-rockstar` contains the CodeMirror editor used on the Rockstar website\n* `/codewithrockstar.com` contains the Rockstar website, docs and examples\n\n### Building Rockstar\n\nTo build the Starship engine, you'll need the .NET 9 SDK\n\n```dotnetcli\ngit clone https://github.com/RockstarLang/rockstar.git\ncd rockstar\ndotnet workload install wasm-tools\ndotnet build ./Starship/Starship.sln\ndotnet test ./Starship/\n```\n\nTo build a Rockstar native binary on Linux, you'll need `gcc` installed, and then:\n\n```\ngit clone https://github.com/RockstarLang/rockstar.git\ncd rockstar\ndotnet publish ./Starship/Rockstar -o binaries -c Release\n```\n\nThat'll create a standalone binary executable in `binaries/rockstar`.\n\nThe `codewithrockstar.com` website is built with Jekyll and hosted on GitHub Pages.\n\nThe embedded Rockstar interpreter is the Starship engine compiled to run on web assembly:\n\n```dotnetcli\ndotnet build ./Starship/Starship.sln\ndotnet publish ./Starship/Rockstar.Wasm -o codewithrockstar.com/wasm/ -c Debug\n```\n\n### Building with GitHub Actions\n\nBuilding codewithrockstar.com works like this:\n\n**build-rockstar-2.0**\n- runs on Linux\n- Builds the parser and interpreter\n- Runs the test suite\n- Uploads artifacts for:\n\t- Linux native binary\n\t- WASM interpreter for the website\n\n**build-windows-binary**\n* builds the Rockstar windows binary\n\n**build-macos-binary**\n* builds the macOS binary\n\n**release-rockstar-engine**\n* creates the GitHub release from the latest binaries\n\n **build-and-deploy-website**\n* Downloads the Rockstar WASM binary\n* builds the CodeMirror editor\n* Builds the Jekyll site\n* Deploys the site to GitHub Pages\n### Debug/Dev Mode Setup\n\nIn dev mode, I use symbolic directory links between the various parts of the project. Rebuilding the .NET solution will rebuild the WASM interpreter, which Jekyll can see as `/wasm/**`, and trigger a site rebuild, and all the Rockstar code examples are part of both the `Rockstar.Test` .NET test suite project and the `codewithrockstar.com` site:\n\n```\n\u003e cd codewithrockstar.com\n\u003e mklink /d wasm ..\\Starship\\Rockstar.Wasm\\bin\\Debug\\net8.0-browser\n\u003e mklink /d examples ..\\Starship\\Rockstar.Test\\programs\\examples\n```\n\n```\ncodewithrockstar.com\n  /wasm --\u003e [ /Starship/Rockstar.Wasm/bin/Debug/net8.0-browser ]\n  /examples --\u003e [ /Starship/Rockstar.Test/programs/examples ]\n  /index.html\n  /example.md\n  /js\n \t/rockstar-editor.js (from codemirror)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRockstarLang%2Frockstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRockstarLang%2Frockstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRockstarLang%2Frockstar/lists"}