DEV Community

Mike Molinari
Mike Molinari

Posted on

1

Using ASTs to merge LLM generated snippets in to existing code files with surgical precision.

https://github.com/mmiscool/aiCoder

I’m thrilled to share aiCoder, a project that brings a fresh approach to AI-assisted JavaScript development! By harnessing the power of Abstract Syntax Trees (ASTs), aiCoder makes merging AI-generated code into existing projects smarter and more reliable than ever. Unlike traditional line-based methods that can lead to frustrating conflicts or overwrites, aiCoder works at the syntactic level, ensuring that every snippet integrates seamlessly while preserving the structure and logic of your code. It even keeps your comments intact, so your code stays clear and readable. I’m incredibly excited about how this tool is transforming the way we collaborate with AI, and I can’t wait to see how it boosts productivity and creativity for developers everywhere!

Slide deck explaining how the interesting bits work.
https://docs.google.com/presentation/d/1xdX09ELgW7lMU1E9KWIrpibUYVT1wdaiSvUhFhAT7EI/edit?usp=sharing

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up