{"id":21473409,"url":"https://github.com/cedarscript/cedarscript-ast-parser-python","last_synced_at":"2026-01-28T13:04:07.332Z","repository":{"id":257811315,"uuid":"868027653","full_name":"CEDARScript/cedarscript-ast-parser-python","owner":"CEDARScript","description":"Lib for parsing and interpreting CEDARScript, a SQL-like language for code analysis and transformations","archived":false,"fork":false,"pushed_at":"2024-12-19T21:19:19.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-04T19:57:27.247Z","etag":null,"topics":["ai-assisted-development","code-editing","parser"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CEDARScript.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-05T09:31:56.000Z","updated_at":"2024-12-19T21:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"20649be0-8e6e-425f-aac5-fbf59dc7cb1d","html_url":"https://github.com/CEDARScript/cedarscript-ast-parser-python","commit_stats":null,"previous_names":["cedarscript/cedarscript-ast-parser"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/CEDARScript/cedarscript-ast-parser-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CEDARScript%2Fcedarscript-ast-parser-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CEDARScript%2Fcedarscript-ast-parser-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CEDARScript%2Fcedarscript-ast-parser-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CEDARScript%2Fcedarscript-ast-parser-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CEDARScript","download_url":"https://codeload.github.com/CEDARScript/cedarscript-ast-parser-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CEDARScript%2Fcedarscript-ast-parser-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"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":["ai-assisted-development","code-editing","parser"],"created_at":"2024-11-23T10:17:04.612Z","updated_at":"2026-01-28T13:04:07.312Z","avatar_url":"https://github.com/CEDARScript.png","language":"Python","readme":"# CEDARScript AST Parser\n\n[![PyPI version](https://badge.fury.io/py/cedarscript-ast-parser.svg)](https://pypi.org/project/cedarscript-ast-parser/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/cedarscript-ast-parser.svg)](https://pypi.org/project/cedarscript-ast-parser/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n`CEDARScript AST Parser` is a Python library for parsing and interpreting `CEDARScript`, a SQL-like language designed for concise code analysis, manipulation, and refactoring tasks.\n\n## What is CEDARScript?\n\n[CEDARScript](https://bit.ly/cedarscript) (_Concise Examination, Development, And Refactoring Script_) is a domain-specific language that\naims to improve how AI coding assistants interact with codebases and communicate their code modification intentions.\nIt provides a standardized way to express complex code modification and analysis operations, making it easier for \nAI-assisted development tools to understand and execute these tasks.\n\n## Features\n\n- Parse `CEDARScript` Abstract Syntax Tree (`AST`) that was generated by Tree-Sitter into a list of commands\n- Support for various code manipulation and analysis commands (CREATE, UPDATE, RM, MV, SELECT)\n- Return results in `XML` format for easier parsing and processing by LLM systems\n\n## Installation\n\nYou can install CEDARScript Parser using pip:\n\n```\npip install cedarscript-ast-parser\n```\n\n## Usage\n\nHere's a quick example of how to use CEDARScript Parser:\n\n```python\nfrom cedarscript_ast_parser import CEDARScriptASTParser\n\nparser = CEDARScriptASTParser()\ncode = \"\"\"\nCREATE FILE \"example.py\"\nUPDATE FILE \"example.py\"\n    INSERT AT END OF FILE\n        CONTENT\n            print(\"Hello, World!\")\n        END CONTENT\nEND UPDATE\n\"\"\"\n\ncommands, errors = parser.parse_script(code)\n\nif errors:\n    for error in errors:\n        print(f\"Error: {error}\")\nelse:\n    for command in commands:\n        print(f\"Parsed command: {command}\")\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarscript%2Fcedarscript-ast-parser-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedarscript%2Fcedarscript-ast-parser-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarscript%2Fcedarscript-ast-parser-python/lists"}