{"id":16146227,"url":"https://github.com/ncharlton02/aurora","last_synced_at":"2025-03-18T18:30:48.024Z","repository":{"id":144356578,"uuid":"145432221","full_name":"ncharlton02/aurora","owner":"ncharlton02","description":"A lua interpreter written in rust","archived":false,"fork":false,"pushed_at":"2019-09-10T20:38:16.000Z","size":99,"stargazers_count":5,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T11:24:47.825Z","etag":null,"topics":["crafting-interpreters","interpreter","lua","luajit","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ncharlton02.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":"2018-08-20T14:58:35.000Z","updated_at":"2021-08-29T20:50:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a6736a6-3d25-425a-b418-9e6fe2b65c0b","html_url":"https://github.com/ncharlton02/aurora","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/ncharlton02%2Faurora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncharlton02%2Faurora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncharlton02%2Faurora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncharlton02%2Faurora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncharlton02","download_url":"https://codeload.github.com/ncharlton02/aurora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243944954,"owners_count":20372885,"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":["crafting-interpreters","interpreter","lua","luajit","rust"],"created_at":"2024-10-10T00:19:28.702Z","updated_at":"2025-03-18T18:30:48.019Z","avatar_url":"https://github.com/ncharlton02.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aurora (WIP)\n[![Build Status](https://travis-ci.com/DevOrc/aurora.svg?branch=master)](https://travis-ci.com/DevOrc/aurora)\n\nA lua intepreter written in rust. There is currently little documentation\ndue to the early stage of this project. \n\n## How to run\nAurora can run in two modes, file and console. File mode will run a file in the assets folder whereas console mode will run an interactive interpereter in the terminal. \n\nTo run file mode run:\n```cmd\n$ cargo run --example=file -- -f=FILE_NAME_HERE\n$ cargo run --example=file -- -f=basic\n```\n\nTo run console mode run:\n```\n$ cargo run --example=console\n```\n\nTo see the tokens and the raw AST use the verbose flag:\n```cmd\n$ cargo run --example=file -- -v -f=basic\n```\n\n**Note**: Flags do not work in the console version!\n\n## Features\nAurora is currently a WIP. Lots of the lua language\nisn't supported. See below for the currently supported and planned features.\n\n### Implemented Features\n- Comments\n- If statements\n- Print statements\n- Basic arithmetic\n- Functions\n- While loops\n- For loops\n- Local variables\n- Basic error messages with line numbers\n- Tables\n- Modules\n\n### Planned features\n- Rust/Lua interops\n- For in loops\n- A std library\n- Order of Operations\n- Library to run files \n- Basic concurrency\n\n### Known Problems\nThe expression parser is very buggy so I don't recomend writting complicated expressions\nlike \n\n```lua\nlocal x = (5 - ((8 - 9) / 3.14) - (9 - 3) * 7)\n```\n\n### Want to contribute?\nPlease do, there is a lot of areas that need work! \nA good place to start would be testing, examples, or the expression parser. \nIf you have any questions, don't be afraid to ask. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncharlton02%2Faurora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncharlton02%2Faurora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncharlton02%2Faurora/lists"}