DEV Community

Mike Molinari
Mike Molinari

Posted on

aiCoder is a tool for building well structured javascript libraries.

Just wanted to share this project I have been working on.

It is an AI coding tool that takes naturel language prompts to generate code and automatically merge the new snippets in to your existing project files.

To merge the code in to an existing file we use an AST (abstract syntax tree) and surgically replace only the code blocks that need to be modified.

AST merge example

AST merge example

There is a live example of the merging technology demonstrated on this page. https://aicoderproject.com/

Github repo here.
https://github.com/mmiscool/aiCoder

If you want to try it out and you have an LLM api key just run the following commands.

cd project_directory
npx aicodertool
Enter fullscreen mode Exit fullscreen mode

Open the browser and visit localhost:3000

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay