{"id":31952741,"url":"https://github.com/siguici/vyacc","last_synced_at":"2026-02-17T08:02:54.828Z","repository":{"id":309465901,"uuid":"1036375930","full_name":"siguici/vyacc","owner":"siguici","description":"A lightweight, fast, and modern parser generator for @Vlang.","archived":false,"fork":false,"pushed_at":"2025-10-22T01:21:06.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-22T03:23:01.435Z","etag":null,"topics":["lexer","lexer-generator","parser-generator","tokenizer","vlang","vlang-module","vlang-package","yacc","yacc-lex","yylex"],"latest_commit_sha":null,"homepage":"https://vpm.vlang.io/packages/siguici.vyacc","language":"V","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/siguici.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-12T01:45:01.000Z","updated_at":"2025-10-22T01:21:10.000Z","dependencies_parsed_at":"2025-08-12T04:20:17.386Z","dependency_job_id":"eac0a7df-e457-492e-8eaf-9766a32d07b9","html_url":"https://github.com/siguici/vyacc","commit_stats":null,"previous_names":["siguici/vlex","siguici/vyacc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/siguici/vyacc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fvyacc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fvyacc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fvyacc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fvyacc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siguici","download_url":"https://codeload.github.com/siguici/vyacc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siguici%2Fvyacc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29537254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lexer","lexer-generator","parser-generator","tokenizer","vlang","vlang-module","vlang-package","yacc","yacc-lex","yylex"],"created_at":"2025-10-14T13:24:16.046Z","updated_at":"2026-02-17T08:02:54.820Z","avatar_url":"https://github.com/siguici.png","language":"V","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📘 Vyacc – LALR(1) Parser Generator in V\n\n\u003e **Vyacc** is a **LALR(1) parser generator** written in [Vlang](https://vlang.io),\ninspired by Yacc/Bison but designed to be **modern, simple, and modular**.  \n\u003e Its main goal is to make the development of programming languages, DSLs,\nand robust parsers **easier and more efficient**.  \n\n---\n\n## 🚀 Features\n\n- 📚 Full support for **LALR(1) grammars**  \n- 🛠 Automatic **AST (Abstract Syntax Tree)** generation  \n- 🏎 Native performance powered by V  \n- 🎯 Clear syntax, familiar to **Yacc/Bison** users  \n- 🔗 Easy integration with your V projects  \n\n---\n\n## ⚙️ Installation\n\n### 🔹 Via VPM (Recommended)\n\n```sh\nv install siguici.vyacc\n````\n\n📦 [Vyacc on VPM](https://vpm.vlang.io/packages/siguici.vyacc)\n\n---\n\n### 🔹 Via Git\n\n```sh\nmkdir -p ${VMODULES:-$HOME/.vmodules}/siguici\ngit clone --depth=1 https://github.com/siguici/vyacc ${VMODULES:-$HOME/.vmodules}/siguici/vyacc\n```\n\n---\n\n### 🔹 As a project dependency\n\nIn your `v.mod` file:\n\n```vmod\nModule {\n  dependencies: ['siguici.vyacc']\n}\n```\n\n---\n\n### 🔹 Native installers\n\nThe repository also provides native installers for manual installation:\n\n- **Linux / macOS** : `install.sh`\n- **Windows** : `install.ps1`\n\n---\n\n## 🖥 Usage\n\nMinimal example of a grammar file `example.y`:\n\n```yacc\n%token NUMBER\n%left '+' '-'\n%left '*' '/'\n\n%%\nexpr: expr '+' expr   { $$ = $1 + $3; }\n    | expr '*' expr   { $$ = $1 * $3; }\n    | NUMBER          { $$ = $1; }\n    ;\n```\n\nGenerate the parser:\n\n```sh\nvyacc example.y -o parser.v\nv run parser.v\n```\n\n---\n\n## 🧪 Testing\n\n```sh\nv test .\n```\n\n---\n\n## 🤝 Contributing\n\nContributions are **welcome**!\n\n- Fork the repository\n- Create a branch `feature/my-feature`\n- Submit a PR 🚀\n\n---\n\n## 📜 License\n\nVyacc is distributed under the [**MIT License**](/LICENSE.md).\nYou are free to use, modify, and share it.\n\nMade with ❤️ by [Sigui Kessé Emmanuel](https://github.com/siguici).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiguici%2Fvyacc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiguici%2Fvyacc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiguici%2Fvyacc/lists"}