{"id":16856442,"url":"https://github.com/vallentin/pylua","last_synced_at":"2026-01-04T00:39:05.128Z","repository":{"id":41248090,"uuid":"54409386","full_name":"vallentin/PyLua","owner":"vallentin","description":"Source-to-source compiler that compiles Python into Lua","archived":false,"fork":false,"pushed_at":"2016-04-13T20:30:44.000Z","size":60,"stargazers_count":27,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-24T17:34:55.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/vallentin.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}},"created_at":"2016-03-21T17:33:50.000Z","updated_at":"2024-12-30T02:29:34.000Z","dependencies_parsed_at":"2022-09-17T04:00:52.411Z","dependency_job_id":null,"html_url":"https://github.com/vallentin/PyLua","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/vallentin%2FPyLua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FPyLua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FPyLua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FPyLua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vallentin","download_url":"https://codeload.github.com/vallentin/PyLua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207746,"owners_count":20416109,"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-13T14:04:15.183Z","updated_at":"2026-01-04T00:39:05.088Z","avatar_url":"https://github.com/vallentin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n**Status:** In development.\n\n*Information is chronologically added to this README.md file. When enough is implemented\nand fleshed out, then the library will be released.*\n\n\n# PyLua - Python into Lua\n\n[PyLua][PyLua] is a [source-to-source compiler][ss-compiler]\nthat compiles [Python][Python] into [Lua][Lua].\n\n*[PyLua][PyLua] is developed and tested using Python 3.5.1,\nLua 5.1 and Lua 5.2.*\n\n\n## Supported Functionality\n\n*The following list, is the features that __currently__ can be successfully\ntranslated from [Python][Python] to [Lua][Lua].*\n\n*Features in development has a strike-through.*\n\n- Variables\n - ~~Global \u0026 Local Variables (Differentiation)~~\n- [Types](#types)\n- [Operators](#operators)\n- [Functions](#functions)\n - Nested Functions\n- ~~Classes~~\n- ~~Importing~~\n\n\n### Types\n\n*Supported [Python][Python] types, that __currently__ can be successfully\ntranslated from [Python][Python] to [Lua][Lua].*\n\n#### Example - Python (left), Lua (right)\n\n*Excluding functions.*\n\n![Supported Python Types](examples/types.png)\n\n\n### Operators\n\n*Supported [Python][Python] operators, that __currently__ can be successfully\ntranslated from [Python][Python] to [Lua][Lua].*\n\n- Arithmetic (`+`, `-`, `*`, `/`, `%`, `**`, `//`)\n- Comparison  (`==`, `!=`, `\u003c\u003e`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=`)\n- Assignment (`=`, `+=`, `-=`, `*=`, `/=`, `%=`, `**=`, `//=`)\n- Bitwise (`~`, `\u0026`, `|`, `^`, `\u003c\u003c`, `\u003e\u003e`)\n- Logical (`not`, `and`, `or`)\n- Membership (`in`, `not in`)\n- Identity (`is`, `is not`)\n\n#### Example - Python (left), Lua (right)\n\n![Supported Python Operators](examples/operators.png)\n\n\n### Functions\n\n*Supported [Python][Python] function declarations, that __currently__ can be successfully\ntranslated from [Python][Python] to [Lua][Lua].*\n\nNote that while [Python][Python] supports multiple `*args` and `**kwargs` in function declarations,\n[Lua][Lua] does not. [Lua][Lua] doesn't as it represents varargs with `...` (which is unnamed).\n\n#### Example - Python (left), Lua (right)\n\n![Supported Python Function Declarations](examples/functions.png)\n\n\n### License\n\nThis module is shared under the MIT license, and is therefore free to use, share, distribute and modify.\nSee [LICENSE](https://github.com/MrVallentin/PyLua/blob/master/LICENSE) for more details.\n\n\n[PyLua]: https://github.com/MrVallentin/PyLua\n\n[Python]: https://www.python.org\n[Lua]: http://www.lua.org\n\n[ss-compiler]: https://en.wikipedia.org/wiki/Source-to-source_compiler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fpylua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallentin%2Fpylua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fpylua/lists"}