{"id":15531457,"url":"https://github.com/squiddev/lua_menhir","last_synced_at":"2025-07-20T17:04:53.272Z","repository":{"id":235678667,"uuid":"755351650","full_name":"SquidDev/lua_menhir","owner":"SquidDev","description":"Parsing Lua in Lua with OCaml","archived":false,"fork":false,"pushed_at":"2024-02-10T00:13:14.000Z","size":609,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T00:11:47.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SquidDev.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":"2024-02-10T00:12:21.000Z","updated_at":"2024-09-28T07:14:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"34264818-4682-4dc8-878f-29b691d2b29c","html_url":"https://github.com/SquidDev/lua_menhir","commit_stats":null,"previous_names":["squiddev/lua_menhir"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SquidDev/lua_menhir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SquidDev%2Flua_menhir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SquidDev%2Flua_menhir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SquidDev%2Flua_menhir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SquidDev%2Flua_menhir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SquidDev","download_url":"https://codeload.github.com/SquidDev/lua_menhir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SquidDev%2Flua_menhir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266161906,"owners_count":23885928,"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-02T11:26:16.036Z","updated_at":"2025-07-20T17:04:53.248Z","avatar_url":"https://github.com/SquidDev.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua_menhir\nlua_menhir provides a framework for converting [Menhir] grammars and [lrgrep]'s\n`.mlyl` files to Lua. This is used to provide better Lua syntax errors for \nthe [CC: Tweaked](https://github.com/cc-tweaked/CC-Tweaked) Minecraft mod.\n\nThis project is composed of several components:\n - `lrgrep/`: A copy of [lrgrep], modified to generate Lua code.\n - `parser/`: The Menhir grammar and parse errors file, largely copied from\n   [illuaminate]. This also includes some debugging tools (`repl.ml`,\n   `interpreter.ml`) for easier debugging of lrgrep rules.\n - `lua_menhir/`: This consumes our generated lrgrep file and Menhir parser, and\n   stitches everything together into a single Lua file.\n - `lua/`: The generated parser, along with some tests and support code. This is\n   a copy of what is shipped in CC: Tweaked.\n\nThis project is currently built for one purpose (better error messages in Lua)\nand so is definitely not recommended for general-purpose use. It doesn't even\nsupport semantic actions!\n\n[menhir]: https://gallium.inria.fr/~fpottier/menhir/\n[lrgrep]: https://github.com/let-def/lrgrep\n[illuaminate]: https://github.com/Squiddev/illuaminate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquiddev%2Flua_menhir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquiddev%2Flua_menhir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquiddev%2Flua_menhir/lists"}