{"id":26769913,"url":"https://github.com/bbuck/crystal-lua","last_synced_at":"2025-06-16T09:02:54.009Z","repository":{"id":137968148,"uuid":"322401011","full_name":"bbuck/crystal-lua","owner":"bbuck","description":"A port of Lua 5.4 to Crystal (written in Crystal) [Under Heavy Construction]","archived":false,"fork":false,"pushed_at":"2020-12-23T04:05:28.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T22:46:20.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/bbuck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2020-12-17T20:05:39.000Z","updated_at":"2020-12-19T23:49:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecfc8e99-9123-4cc7-8f98-90b628f4f2ed","html_url":"https://github.com/bbuck/crystal-lua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbuck/crystal-lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcrystal-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcrystal-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcrystal-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcrystal-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbuck","download_url":"https://codeload.github.com/bbuck/crystal-lua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuck%2Fcrystal-lua/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260130622,"owners_count":22963427,"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":"2025-03-28T22:46:23.459Z","updated_at":"2025-06-16T09:02:54.001Z","avatar_url":"https://github.com/bbuck.png","language":"Crystal","readme":"\n\n# Lua in Crystal\n\nA port of Lua written in pure Crystal.\n\n## Roadmap\n\nFor now, these are the major goals that are on the road map. \n\n- [ ] Lexer\n- [ ] Parser\n- [ ] Types\n- [ ] Basic Execution\n\nI will expand/update this as parts get written.\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n```yaml\ndependencies:\n    crystal-lua:\n    github: bbuck/crystal-lua \n```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"lua\"\n```\n\n## FAQ\n\n### Why?\n\nI like building languages. I have a [scripting language](https://github.com/bbuck/eleetscript) \nI wrote for Ruby (it's not in a usable state right now due to some bugs). This project gives\nme an opportunity to write in a language similar to Ruby (Crystal), build a scripting language\n(Lua), and learn how a real language is implemented so that I can hopefully apply this knowledge\nin the future on other projects.\n\n### Should I use this project?\n\nNope. At least not right now. The intent is a ground up port (not direct) of the Lua (at the time\nof this writing) 5.4.2 implementation. So right now this project doesn't do anything related to\nexecuting Lua code. In the future, hopefully this project will be useful in providing another\nLua VM for Crystal programs.\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/bbuck/crystal-lua/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Brandon Buck](https://github.com/bbuck) - creator and maintainer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuck%2Fcrystal-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbuck%2Fcrystal-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuck%2Fcrystal-lua/lists"}