{"id":22787173,"url":"https://github.com/megabytesofrem/tsuki-lang","last_synced_at":"2025-04-13T12:07:47.267Z","repository":{"id":140753814,"uuid":"289577207","full_name":"megabytesofrem/tsuki-lang","owner":"megabytesofrem","description":"🌕 A simple toy language similar to Lua written in Python using Lark. ","archived":false,"fork":false,"pushed_at":"2020-08-24T11:28:59.000Z","size":16,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T12:07:41.403Z","etag":null,"topics":["lark","lark-parser","programming-language","python","scripting-language"],"latest_commit_sha":null,"homepage":"","language":"Python","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/megabytesofrem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2020-08-22T22:32:53.000Z","updated_at":"2023-07-07T20:49:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c7b52f0-08fb-492b-bfd1-8bcdc03692bf","html_url":"https://github.com/megabytesofrem/tsuki-lang","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/megabytesofrem%2Ftsuki-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megabytesofrem%2Ftsuki-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megabytesofrem%2Ftsuki-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megabytesofrem%2Ftsuki-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megabytesofrem","download_url":"https://codeload.github.com/megabytesofrem/tsuki-lang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710433,"owners_count":21149190,"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":["lark","lark-parser","programming-language","python","scripting-language"],"created_at":"2024-12-12T00:50:23.867Z","updated_at":"2025-04-13T12:07:47.262Z","avatar_url":"https://github.com/megabytesofrem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tsuki-lang\nA simple toy language written in Python using Lark. Tsuki is designed to be similar\nto Lua syntax wise, however much simpler.\n\n## Features\n- [x] Variables that map to Python representations\n- [x] Arrays, and tables (dictionaries)\n- [x] If statements\n- [x] Comments\n\n## Demo\n```lua\n-- Hello world in Tsuki\necho(\"Hello world\")\n\n-- Checking for conditions with if\nmanesix = [\"Twilight\", \"Rarity\", \"Fluttershy\", \"Applejack\", \"Rainbow Dash\", \"Pinkie Pie\"]\ninwonderbolts = \"true\"\nif find(manesix, \"Rainbow Dash\") ~= \"nil\" and inwonderbolts == \"true\" then \n    echo(\"Rainbow dash is in the Wonderbolts\")\nend\n\n-- Tables are cool too!\nprincesses = {\n    \"Twilight\" -\u003e \"is the princess of friendship\",\n    \"Celestia\" -\u003e \"raises the sun\",\n    \"Luna\"     -\u003e \"raises the moon\"\n}\n\necho(\"Celestia \")\nwhat = find(princesses, \"Celestia\")\necho(what)\n\n-- ...and heres a single line if statement!\nif what ~= \"raises the sun\" then echo(\"Wrong pony\") end\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegabytesofrem%2Ftsuki-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegabytesofrem%2Ftsuki-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegabytesofrem%2Ftsuki-lang/lists"}