<story><title>Building an interpreter for my programming language with ChatGPT</title><url>https://6502.is-a.dev/posts/aoc-2022/</url></story><parent_chain></parent_chain><comment><author>qnr</author><text>I have been developing a hobby project (AI powered document search) for a few months and was in sore need of a frontend. My frontend development skills however are stuck in late 1990s and I have zero skill with anything but plain HTML and a little bit of JS. Several times I tried learning React, reading tutorials, watching videos, but the whole idea of it was very removed from how I learned to code, so I gave up every time.&lt;p&gt;Today, I asked ChatGPT to develop the React app for me. ChatGPT guided me through the entire process starting from installing npm and necessary dependencies. The commands it suggested sometimes didn&amp;#x27;t work but every time I just copy-pasted the resulting error message into ChatGPT and it offered a working solution. I gave it the example of JSON output from my API backend and it generated the search UI which, to my surprise, worked.&lt;p&gt;My wet dream for the past few months was to implement infinite scrolling for my search. Again, after hours of google searches, tutorials, etc. I just gave up every single time. Not today. I asked ChatGPT to add infinite scrolling to my app. It wasn&amp;#x27;t easy. It didn&amp;#x27;t produce a working app immediately, it took a couple hours of conversations: I had many questions how different parts of React worked, how to fix errors etc. etc. In the end however, I had my working search app, and with infinite scroll to boot!&lt;p&gt;I haven&amp;#x27;t done a single google search or consulted any external documentation to do it and I was able to progress faster than I have ever did before when learning a new thing. ChatGPT is, for all intents and purposes, magic.</text></comment>
<story><title>Building an interpreter for my programming language with ChatGPT</title><url>https://6502.is-a.dev/posts/aoc-2022/</url></story><parent_chain></parent_chain><comment><author>habibur</author><text>ChatGPT will be the google killer, if they can scale it up for unregistered general use.&lt;p&gt;No idea how much openai&amp;#x27;s computational cost is per query. Unless it&amp;#x27;s an order of magnitude higher than google&amp;#x27;s, we can assume the next thing after yahoo -&amp;gt; altavista -&amp;gt; google is here.</text></comment>