{"id":20442591,"url":"https://github.com/masonm/grammargrapher","last_synced_at":"2026-07-31T06:33:16.785Z","repository":{"id":3356274,"uuid":"4401729","full_name":"MasonM/grammargrapher","owner":"MasonM","description":null,"archived":false,"fork":false,"pushed_at":"2012-05-22T03:21:17.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-26T15:00:14.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MasonM.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-05-22T03:17:09.000Z","updated_at":"2025-06-14T18:32:53.000Z","dependencies_parsed_at":"2022-09-07T07:30:13.308Z","dependency_job_id":null,"html_url":"https://github.com/MasonM/grammargrapher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MasonM/grammargrapher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fgrammargrapher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fgrammargrapher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fgrammargrapher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fgrammargrapher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasonM","download_url":"https://codeload.github.com/MasonM/grammargrapher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fgrammargrapher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36107132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-31T02:00:06.731Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T09:41:43.578Z","updated_at":"2026-07-31T06:33:16.751Z","avatar_url":"https://github.com/MasonM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\nSummary\n=======\nGrammarGrapher is a basic script to display parse trees for user-provided input \nusing a GLR parsing algorithm. See examples/ directory for examples of usage. \nLicensed under the MIT License\n\n============\nDependencies\n============\n- Python 2.5-2.6\n- PyGgy 0.4.1 (http://www.lava.net/~newsham/pyggy/pyggy-0.4.1.tar.gz)\n- pydot 1.0.2 (http://pydot.googlecode.com/files/pydot-1.0.2.tar.gz)\n- ImageMagick 7.0+\n\n=====\nUsage\n=====\ngrapher.py [options] \u003cgrammar\u003e \u003clexicalspec\u003e\n\nWhere \u003cgrammar\u003e is a .pyg file containing a CFG grammar, \u003clexicalspec\u003e is a .pyl containing\nthe lexical specifications, and [options] is taken from the following list:\n  -p \u003cfile\u003e     Override default prefix for dot files with given file.\n  -a \u003cdelay\u003e    If set, write an animated GIF showing the construction of the parse tree\n                from top to bottom, with \u003cdelay\u003e ms delay between each frame.\n  -o \u003coutfile\u003e  Write to given file. Extension determines format. If not specified, dot file \n                will be printed to stdout.\n  -i \u003cinstring\u003e String to parse. If not provided, input will be taken from STDIN.\n  -h, --help    Print this message\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fgrammargrapher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasonm%2Fgrammargrapher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fgrammargrapher/lists"}