{"id":13803929,"url":"https://github.com/pwil3058/dunnart","last_synced_at":"2026-01-10T05:10:32.330Z","repository":{"id":7281855,"uuid":"8596337","full_name":"pwil3058/dunnart","owner":"pwil3058","description":"LALR(1) Parser Generator for the D Programming Language","archived":false,"fork":false,"pushed_at":"2017-07-14T04:25:40.000Z","size":345,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T21:05:04.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"D","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/pwil3058.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":"2013-03-06T05:09:36.000Z","updated_at":"2023-12-31T15:14:57.000Z","dependencies_parsed_at":"2022-09-07T19:24:34.778Z","dependency_job_id":null,"html_url":"https://github.com/pwil3058/dunnart","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/pwil3058%2Fdunnart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwil3058%2Fdunnart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwil3058%2Fdunnart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwil3058%2Fdunnart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwil3058","download_url":"https://codeload.github.com/pwil3058/dunnart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213870460,"owners_count":15650178,"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-08-04T01:00:39.230Z","updated_at":"2026-01-10T05:10:32.298Z","avatar_url":"https://github.com/pwil3058.png","language":"D","funding_links":[],"categories":["Lexers, Parsers, Parser Generators","Tools and Frameworks"],"sub_categories":["Bare metal / kernel development","D"],"readme":"Dunnart D Parser Generator (ddpg)\n=================================\n\nEnhanced LALR(1) Parser Generator for the D Programming Language.\n\nThis (ddgp) tool is an implementation in D of the LALR(1) parser generators\ndescribed in \"Compilers - Principles, Techniques and Tools\" (Aho, Sethi\nand Ullman, 1986) (aka the red dragon book) with modifications to allow\nconflict resolution using boolean predicates and a built in lexical\nanalyser.  It produces a single D file as output.\n\nThe [specification language](https://github.com/pwil3058/dunnart/wiki/Specification-Language)\nfor dunnart (in itself) is described (in the\nspecification language for dunnart) in the file dunnart.ddgs which was\nused to implement the ddpg program recursively via a three stage\nbootstrap process (one stage now permanently retired).\n\nBuilding ddgp\n=============\n\nTo build __ddgp__ execute the following:\n```\n$ make\n```\nin the base directory.\n\nSynopsis\n========\n```\nddgp [\u003coptions\u003e] \u003cspecification file name\u003e\nOptions:\n    -f|--force:\n        overwrite existing output file\n    -m \u003cname\u003e | --module=\u003cname\u003e:\n        insert a \"module\" statement in the output file using name\n    -v | --verbose:\n        produce a full description of the grammar generated\n    -o \u003cname\u003e | --output=\u003cname:\n        write the generated parser code to the named file\n    -p \u003cpath\u003e | --prefix=\u003cpath\u003e:\n        if using a path name based on the module name prefix it with path\n    -e  \u003cnumber\u003e | --expect=\u003cnumber\u003e:\n        expect exactly \"number\" total conflicts\n    -s  \u003cpath\u003e | --states=\u003cpath\u003e:\n        write a textual description of the parser's states to \"path\"\n        to assist in resolution of any conflicts\n\n```\n\nOutput File Name\n================\nIf the _--module_ option is used the output filename will be derived\nfrom the module name (prefixed with the argument to the _--prefix_\noption if present) unless it is overruled by the _--output_ option.\nIf neither the _--module_ nor _--output_ option are present, the output\nfilename will be constructed by replacing the input filename's suffix\nwith \"d\".\n\nIn no event, will an existing file be overwritten unless the _--force_\noption is used.\n\nLicense\n=======\nDunnart D Parser Generator (ddpg) is licensed under the Boost Software\nLicense, Version 1.0. (See accompanying file LICENSE_1_0.txt or\n[copy at](http://www.boost.org/LICENSE_1_0.txt)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwil3058%2Fdunnart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwil3058%2Fdunnart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwil3058%2Fdunnart/lists"}