1 comment

[ 2.5 ms ] story [ 9.4 ms ] thread
Been working on a little tool for doing LLM powered code generation.

The aiCoder project introduces a cutting-edge approach to AI-assisted software development by integrating advanced Abstract Syntax Tree (AST) manipulation for intelligent code merging. Unlike traditional tools, aiCoder utilizes ASTs to parse, analyze, and seamlessly integrate AI-generated snippets into existing codebases, ensuring syntactic and semantic coherence.

Merging using ASTs prevents code from being accidentally deleted or mangled like in other tools that take a line based approach. Currently it only supports JavaScript but the same approach could be applied to other languages.

https://github.com/mmiscool/aiCoder