{"id":15902131,"url":"https://github.com/hallerpatrick/live_parser","last_synced_at":"2025-08-04T20:19:01.908Z","repository":{"id":43177685,"uuid":"398920595","full_name":"HallerPatrick/live_parser","owner":"HallerPatrick","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-18T07:03:12.000Z","size":3630,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T07:37:02.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hallerpatrick.github.io/live_parser/liva_parser/","language":"Rust","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/HallerPatrick.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}},"created_at":"2021-08-22T23:18:29.000Z","updated_at":"2021-11-16T13:21:21.000Z","dependencies_parsed_at":"2023-02-01T05:15:14.258Z","dependency_job_id":null,"html_url":"https://github.com/HallerPatrick/live_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HallerPatrick/live_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HallerPatrick%2Flive_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HallerPatrick%2Flive_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HallerPatrick%2Flive_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HallerPatrick%2Flive_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HallerPatrick","download_url":"https://codeload.github.com/HallerPatrick/live_parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HallerPatrick%2Flive_parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263711566,"owners_count":23499884,"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-06T11:22:35.063Z","updated_at":"2025-07-05T08:36:51.543Z","avatar_url":"https://github.com/HallerPatrick.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Liva specs\n[![codecov](https://codecov.io/gh/HallerPatrick/live_parser/branch/master/graph/badge.svg?token=B4T9MOAJAT)](https://codecov.io/gh/HallerPatrick/live_parser)\n\nThis module contains a parser, which is able to parse the liva programming language.\n\nFor now this means we generate a intermediate representation, generated with the help of `nom`,\n so this is kind of a mix between a lexer and parser.\n\nLua directly emits the opcodes to the VM while parsing. We dont do this cause we like the\ndecoupling of the parser from the VM. When perfomance become critical/present, this may change.\n\n\n## What to parse\n\n* [x] Comments\n* [x] Literals:\n    * [x] Num\n    * [x] String\n    * [x] Bool\n    * [x] Array\n    * [x] Map\n    * [x] Nil\n    * [x] Variable Names\n* [x] Expressions:\n* [x] Statements:\n    * [x] For loop\n    * [x] While loop\n    * [x] If(/Else) // TODO: ELSE\n    * [x] Declarations:\n        * [x] Classes\n        * [x] Functions\n        * [x] Assignment\n    * [x] Return\n    * [x] Import \n* [x] Keep track of line number and line span\n* [ ] Type annotations\n* [ ] Annonymus functios?\n\n\n## Crashing snippets\n\n* TODO: Create automated running of the parser for a folder full of source files, they should all running        and return a valid and complete liva ast\n\n```Lua\nprint(\":\")\npritn(\"!\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallerpatrick%2Flive_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhallerpatrick%2Flive_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallerpatrick%2Flive_parser/lists"}