{"id":19846954,"url":"https://github.com/cc-tweaked/cobalt","last_synced_at":"2025-05-01T21:31:40.949Z","repository":{"id":28348929,"uuid":"31862566","full_name":"cc-tweaked/Cobalt","owner":"cc-tweaked","description":"A re-entrant fork of LuaJ","archived":false,"fork":false,"pushed_at":"2024-04-08T11:13:31.000Z","size":8708,"stargazers_count":68,"open_issues_count":10,"forks_count":13,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-05-17T02:55:36.421Z","etag":null,"topics":["lua","luaj","runtime"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cc-tweaked.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":"2015-03-08T19:35:39.000Z","updated_at":"2024-04-25T07:58:12.000Z","dependencies_parsed_at":"2023-10-29T18:27:53.140Z","dependency_job_id":"f5ce1c93-9a9e-48a7-821b-8186b08c24c7","html_url":"https://github.com/cc-tweaked/Cobalt","commit_stats":null,"previous_names":["cc-tweaked/cobalt"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-tweaked%2FCobalt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-tweaked%2FCobalt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-tweaked%2FCobalt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-tweaked%2FCobalt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cc-tweaked","download_url":"https://codeload.github.com/cc-tweaked/Cobalt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278381,"owners_count":17285080,"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":["lua","luaj","runtime"],"created_at":"2024-11-12T13:13:00.854Z","updated_at":"2025-05-01T21:31:40.940Z","avatar_url":"https://github.com/cc-tweaked.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cobalt\nCobalt is a Lua implementation for Java, designed for use in the Minecraft mod\n[CC: Tweaked]. It is based on [LuaJ 2.0][LuaJ], though has diverged\nsignificantly over the years.\n\n## Features\nCobalt is a (mostly) compliant implementation of Lua 5.2, with several\ninteresting additional features:\n\n - Backwards compatibility with Lua 5.1 (`getfenv`/`setfenv`, `goto` as an\n   identifier).\n - Backports much of the Lua 5.3 and 5.4 standard library.\n - Allows yielding _anywhere_ within a Lua program, including debug hooks and\n   inside any native function.\n - Support for interrupting and resuming the VM at arbitrary points.\n - Efficient concatenation of strings using ropes.\n\n## Using\nDon't.\n\nNo seriously, don't. Cobalt is developed in-sync with CC: Tweaked, and so grows\nand changes according to the mod's needs. There is no guarantee of API stability\nbetween versions. It makes many design decisions which make sense for CC, but\nnot for anything which needs a normal Lua implementation.\n\nInstead I recommend using one of the alternative Lua implementations, like\nLuaJ, JNLua or Rembulan.\n\n[CC: Tweaked]: https://github.com/cc-tweaked/CC-Tweaked \"cc-tweaked/CC-Tweaked: Just another ComputerCraft fork\"\n[LuaJ]: https://github.com/luaj/luaj \"luaj/luaj: Lightweight, fast, Java-centric Lua interpreter written for JME and JSE.\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-tweaked%2Fcobalt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcc-tweaked%2Fcobalt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-tweaked%2Fcobalt/lists"}