{"id":26890735,"url":"https://github.com/chubek/zephyrasdl","last_synced_at":"2025-05-12T11:35:49.641Z","repository":{"id":222761767,"uuid":"758294556","full_name":"Chubek/ZephyrASDL","owner":"Chubek","description":"An implementation of Zephyr ASDL in C, targeting C","archived":false,"fork":false,"pushed_at":"2024-12-06T09:50:15.000Z","size":497,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T22:05:47.184Z","etag":null,"topics":["abstract-syntax-tree","bison","c","domain-specific-languages","flex","gcc","gnu","gpl","lex","trees","yacc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chubek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-16T02:13:45.000Z","updated_at":"2025-02-10T06:24:49.000Z","dependencies_parsed_at":"2024-04-11T19:33:24.527Z","dependency_job_id":"4e31989f-f5fd-4c86-b6e6-607b62f5b192","html_url":"https://github.com/Chubek/ZephyrASDL","commit_stats":null,"previous_names":["chubek/zephyrasdl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chubek%2FZephyrASDL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chubek%2FZephyrASDL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chubek%2FZephyrASDL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chubek%2FZephyrASDL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chubek","download_url":"https://codeload.github.com/Chubek/ZephyrASDL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253730372,"owners_count":21954831,"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":["abstract-syntax-tree","bison","c","domain-specific-languages","flex","gcc","gnu","gpl","lex","trees","yacc"],"created_at":"2025-03-31T22:05:52.101Z","updated_at":"2025-05-12T11:35:49.616Z","avatar_url":"https://github.com/Chubek.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zephyr ASDL Implementation\n\nThis is an implmentation of the Zephyr ASDL language as described [in this 1997 paper](https://www.cs.princeton.edu/~appel/papers/asdl97.pdf) by Wang, Appel, Korn and Serra.\n\nASDL is a domain-specific language that is used to describe syntax of a language. You specify tree grammars, and these tree grammars are translated into C code. This C code contains the Abstract Syntax Tree declarations and definitions. \n\nThere are plans to add more translations. D, Rust and Python would be good.\n\nYou can read the documentation for this program at `extras/MANPAGE.md`. There's a lot of goodies available at `extras` directory.\n\nCurrently, 3 revisions has been made to this program. Please view them via `CHANGELOG.md`. As such, the documentation is outdated. Please see `examples/shell.asdl` for an updated example.\n\n# How to Install\n\nYou need:\n\n1- An implementation of Lex, e.g. Flex\n\n2- An implementation of Yacc, e.g. Bison\n\n3- Perl\n\nUnder a Debian-based distro, you may install these with:\n\n```\nsudo apt-get install perl5 flex bison\n```\n\nAfter installing these, you may:\n\n```\nmake \u0026\u0026 sudo make install\n```\n\nAfter that, bring up the manpage and see what is added to the language:\n\n```\nman 1 asdl\n```\n\nYou can also view the Texinfo with:\n\n```\ninfo asdl\n```\n\nThe manpage and the Texinfo are available in `extras` under `manual.html` and `guide.html`. After installing, these files, along with examples, and everything within `extras` will be copied to `/usr/local/share/doc/asdl`. If you install via a package manager, omitt `/local`.\n\n# Windows...?\n\nWindows is now equipped with WSL2, which you may use to run this program.\n\n\nIf you need to contact me, you can do so via email: `chubakbidpaa [at] riseup [dot] net`.\n\nThanks to anyone who uses this program.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubek%2Fzephyrasdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchubek%2Fzephyrasdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubek%2Fzephyrasdl/lists"}