<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mike Molinari</title>
    <description>The latest articles on DEV Community by Mike Molinari (@mmiscool).</description>
    <link>https://dev.to/mmiscool</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2607827%2F45fdca37-b258-4451-b8df-ac2c840ab4b1.jpeg</url>
      <title>DEV Community: Mike Molinari</title>
      <link>https://dev.to/mmiscool</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mmiscool"/>
    <language>en</language>
    <item>
      <title>aiCoder is a tool for building well structured javascript libraries.</title>
      <dc:creator>Mike Molinari</dc:creator>
      <pubDate>Fri, 28 Feb 2025 07:04:35 +0000</pubDate>
      <link>https://dev.to/mmiscool/aicoder-is-a-tool-for-building-well-structured-javascript-libraries-42fo</link>
      <guid>https://dev.to/mmiscool/aicoder-is-a-tool-for-building-well-structured-javascript-libraries-42fo</guid>
      <description>&lt;p&gt;Just wanted to share this project I have been working on.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5lrxqztvkek1zc2b4ygc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5lrxqztvkek1zc2b4ygc.png" alt="AST merge example" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmpm0bq6xzybygdof3yvh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmpm0bq6xzybygdof3yvh.png" alt="AST merge example" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is a live example of the merging technology demonstrated on this page. &lt;a href="https://aicoderproject.com/" rel="noopener noreferrer"&gt;https://aicoderproject.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Github repo here. &lt;br&gt;
&lt;a href="https://github.com/mmiscool/aiCoder" rel="noopener noreferrer"&gt;https://github.com/mmiscool/aiCoder&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to try it out and you have an LLM api key just run the following commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd project_directory
npx aicodertool
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open the browser and visit localhost:3000&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Using ASTs to merge LLM generated snippets in to existing code files with surgical precision.</title>
      <dc:creator>Mike Molinari</dc:creator>
      <pubDate>Mon, 23 Dec 2024 23:35:46 +0000</pubDate>
      <link>https://dev.to/mmiscool/using-asts-to-merge-llm-generated-snippets-in-to-existing-code-files-with-surgical-precision-28ld</link>
      <guid>https://dev.to/mmiscool/using-asts-to-merge-llm-generated-snippets-in-to-existing-code-files-with-surgical-precision-28ld</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/mmiscool/aiCoder" rel="noopener noreferrer"&gt;https://github.com/mmiscool/aiCoder&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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!&lt;/p&gt;

&lt;p&gt;Slide deck explaining how the interesting bits work. &lt;br&gt;
&lt;a href="https://docs.google.com/presentation/d/1xdX09ELgW7lMU1E9KWIrpibUYVT1wdaiSvUhFhAT7EI/edit?usp=sharing" rel="noopener noreferrer"&gt;https://docs.google.com/presentation/d/1xdX09ELgW7lMU1E9KWIrpibUYVT1wdaiSvUhFhAT7EI/edit?usp=sharing&lt;/a&gt;&lt;/p&gt;

</description>
      <category>llm</category>
      <category>javascript</category>
      <category>ai</category>
      <category>code</category>
    </item>
  </channel>
</rss>
