
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
A library for executing CEDARScript, a SQL-like language for code analysis and transformations
CEDARScript Editor (Python)
is a CEDARScript runtime
for interpreting CEDARScript
scripts and performing code analysis and modification operations on a codebase.
CEDARScript enables offloading low-level code syntax and structure concerns, such as indentation and line counting,
from the LLMs.
The CEDARScript runtime bears the brunt of file editing by locating the exact line numbers and characters to change,
which indentation levels to apply to each line and so on, allowing the CEDARScript commands to focus instead on
higher levels of abstraction, like identifier names, line markers, relative indentations and positions
(AFTER
, BEFORE
, INSIDE
a function, its BODY
, at the TOP
or BOTTOM
of it...).
It acts as an intermediary between the LLM and the codebase, handling the low-level details of code manipulation and allowing the AI to focus on higher-level tasks.
CEDARScript (Concise Examination, Development, And Refactoring Script) is a domain-specific language that aims to improve how AI coding assistants interact with codebases and communicate their code modification intentions.
It provides a standardized way to express complex code modification and analysis operations, making it easier for AI-assisted development tools to understand and execute these tasks.
CEDARScript
script and a base directory, executes the script commands on files inside the base directory;XML
format for easier parsing and processing by LLM systemsYou can install CEDARScript
Editor using pip:
pip install cedarscript-editor
Here's a quick example of how to use CEDARScript
Editor:
from cedarscript_editor import CEDARScriptEdior
parser = CEDARScriptEdior()
code = """
CREATE FILE "example.py"
UPDATE FILE "example.py"
INSERT AT END OF FILE
CONTENT
print("Hello, World!")
END CONTENT
END UPDATE
"""
commands, errors = parser.parse_script(code)
if errors:
for error in errors:
print(f"Error: {error}")
else:
for command in commands:
print(f"Parsed command: {command}")
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
FAQs
A library for executing CEDARScript, a SQL-like language for code analysis and transformations
We found that cedarscript-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.