{"id":16976266,"url":"https://github.com/johnyf/astutils","last_synced_at":"2025-03-22T14:31:52.149Z","repository":{"id":30591814,"uuid":"34146942","full_name":"johnyf/astutils","owner":"johnyf","description":"Bare essentials for building abstract syntax trees, and skeleton classes for PLY lexers and parsers.","archived":false,"fork":false,"pushed_at":"2024-10-31T16:06:47.000Z","size":64,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-18T12:03:21.481Z","etag":null,"topics":["ast","parse","ply","python","syntax-tree"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/astutils","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnyf.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":"2015-04-18T00:51:10.000Z","updated_at":"2024-11-22T17:56:03.000Z","dependencies_parsed_at":"2024-06-21T02:16:37.402Z","dependency_job_id":"4dd807b5-043f-47f1-95bb-2f2570f432f7","html_url":"https://github.com/johnyf/astutils","commit_stats":{"total_commits":94,"total_committers":1,"mean_commits":94.0,"dds":0.0,"last_synced_commit":"5781e101bceb52b8e770d2feca33a9deb97a8c44"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyf%2Fastutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyf%2Fastutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyf%2Fastutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnyf%2Fastutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnyf","download_url":"https://codeload.github.com/johnyf/astutils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244972309,"owners_count":20540958,"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":["ast","parse","ply","python","syntax-tree"],"created_at":"2024-10-14T01:25:30.357Z","updated_at":"2025-03-22T14:31:51.814Z","avatar_url":"https://github.com/johnyf.png","language":"Python","readme":"[![Build Status][build_img]][ci]\n\n\nAbout\n=====\n\nBare essentials for building abstract syntax trees (AST) and Python\n`lex`-`yacc` ([PLY](https://github.com/dabeaz/ply)) parsers.\nThe package includes:\n\n- two classes for tree nodes: `Terminal`, `Operator`\n- a `Lexer` and `Parser` class, and a helper function to erase and\n  rewrite the table files.\n\nThe examples under `examples/` demonstrate how to use these classes to create\na richer AST, a parser, and different backends that use the same parser.\n\nThese classes provide the boilerplate for parsing with PLY, and are based on\ncode that was developed in [`tulip`](\n    https://github.com/tulip-control/tulip-control)\nand [`promela`](https://github.com/johnyf/promela).\n\n\nLicense\n=======\n[BSD-3](https://opensource.org/licenses/BSD-3-Clause), see file `LICENSE`.\n\n\n[build_img]: https://github.com/johnyf/astutils/actions/workflows/main.yml/badge.svg?branch=main\n[ci]: https://github.com/johnyf/astutils/actions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnyf%2Fastutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnyf%2Fastutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnyf%2Fastutils/lists"}