{"id":19297205,"url":"https://github.com/Leonardo2718/lua-vermelha","last_synced_at":"2025-04-22T08:31:13.945Z","repository":{"id":78435937,"uuid":"75411393","full_name":"Leonardo2718/lua-vermelha","owner":"Leonardo2718","description":"A Lua implementation with an Eclipse OMR based JIT compiler","archived":false,"fork":false,"pushed_at":"2017-11-26T01:34:14.000Z","size":452,"stargazers_count":89,"open_issues_count":9,"forks_count":8,"subscribers_count":15,"default_branch":"devel","last_synced_at":"2024-11-09T23:02:23.440Z","etag":null,"topics":["eclipse-omr","jit","lua","omr"],"latest_commit_sha":null,"homepage":"","language":"C","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/Leonardo2718.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2016-12-02T16:17:57.000Z","updated_at":"2023-04-12T07:22:50.000Z","dependencies_parsed_at":"2023-04-10T15:00:44.923Z","dependency_job_id":null,"html_url":"https://github.com/Leonardo2718/lua-vermelha","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/Leonardo2718%2Flua-vermelha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leonardo2718%2Flua-vermelha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leonardo2718%2Flua-vermelha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leonardo2718%2Flua-vermelha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leonardo2718","download_url":"https://codeload.github.com/Leonardo2718/lua-vermelha/tar.gz/refs/heads/devel","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206146,"owners_count":21392194,"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":["eclipse-omr","jit","lua","omr"],"created_at":"2024-11-09T23:01:47.771Z","updated_at":"2025-04-22T08:31:13.940Z","avatar_url":"https://github.com/Leonardo2718.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Lua Vermelha\n\n[![Build Status](https://travis-ci.org/Leonardo2718/lua-vermelha.svg?branch=devel)](https://travis-ci.org/Leonardo2718/lua-vermelha)\n\nLua Vermelha is an implementation of [Lua](http://www.lua.org) 5.3 with a\nJust-In-Time (JIT) compiler built from\n[Eclipse OMR](https://github.com/eclipse/omr) compiler technology.\n\nIt is designed to integrate into the [PUC-Rio Lua](http://www.lua.org) virtual\nmachine with only minor modifications done to it.\n\n*(Please note that Lua Vermelha is under active development and may be unstable and definitely is buggy)*\n\n## Cloning\n\nLua Vermelha includes the Eclipse OMR project as a submodule so I recommend cloning\nthis repo recursively:\n\n```shell\n$ git clone --recursive https://github.com/Leonardo2718/lua-vermelha.git\n```\n\n## Building\n\nCurrently, the only tested and supported platform is Linux on x86-64.\nSupport for other platforms will come later on. Until then, if you need to\nbuild Lua Vermelha on a different platform, you should be able to easily\nmodify the makefiles manually to suit your needs.\n\n**IMPORTANT**: Before JitBuilder can be built (and by extension Lua Vermelha),\nit's important to configure OMR for your platform (see the\n[Eclipse OMR project page](https://github.com/eclipse/omr) for details):\n\n```shell\n$ cd lua-vermelha/omr\n$ make -f run_configure.mk SPEC=linux_x86-64 OMRGLUE=./example/glue\n```\n\nThe top level Makefile can then be used to build the Lua Vermelha executable\ninterpreter frontend `luav`.\n\n```shell\n$ cd ..     # back to `lua-vermelha/`\n$ make -j4  # will recursively build JitBuilder, the JIT, the VM, and luav\n```\n\n## Running\n\nThe `luav` executable can be used the same way as the PUC-Rio Lua\ninterpreter frontend (usually `lua`):\n\n```shell\n$ luav           # starts REPL\n$ luav file.lua  # executes the Lua script `file.lua`\n$ luav luac.out  # executes compiled Lua bytecode (output of `luac`)\n```\n\n## Licensing\n\nLua Vermelha has three components, each with their own licensing: \n\n* The (slightly) modified PUC-Rio Lua VM keeps its original license (MIT)\nand copy-right holders\n* The Lua Vermelha JIT compiler is distributed under two licenses:\n  * [Eclipse Public License](http://www.eclipse.org/legal/epl-v10.html)\n  * [Apache License v2.0](http://www.opensource.org/licenses/apache2.0.php)\n* The Eclipse OMR component is provided as a submodule pointing to the main\nproject repository and is under the same licenses as the Lua Vermelha JIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeonardo2718%2Flua-vermelha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeonardo2718%2Flua-vermelha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeonardo2718%2Flua-vermelha/lists"}