<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Crafting-Interpreters on Siobhan Fitzpatrick</title>
    <link>https://shivfitzpatrick.com/tags/crafting-interpreters/</link>
    <description>Recent content in Crafting-Interpreters on Siobhan Fitzpatrick</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 15 May 2025 19:39:00 -0700</lastBuildDate>
    <atom:link href="https://shivfitzpatrick.com/tags/crafting-interpreters/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Testing Java Lox with jUnit</title>
      <link>https://shivfitzpatrick.com/posts/junit/</link>
      <pubDate>Thu, 15 May 2025 19:39:00 -0700</pubDate>
      <guid>https://shivfitzpatrick.com/posts/junit/</guid>
      <description>&lt;p&gt;If you are going through a book like Crafting Interpreters and just&#xA;input the code from the book and run it, maybe you don&amp;rsquo;t need tests. I&#xA;would also argue you are probably not going to learn the material very&#xA;well. Writing tests on its own will help build your understanding of&#xA;the code the book is explaining to you, but the real point of adding&#xA;unit tests is to support doing the exercises. I am not going to bother&#xA;explaining the value of unit tests in general or test driven&#xA;development, but I think it&amp;rsquo;s worth highlighting that the value of&#xA;unit tests is particularly clear when you are refactoring and&#xA;extending an existing codebase (which is basically what you are doing&#xA;when you implement the features from the exercises).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building the Java Lox Interpreter with Gradle</title>
      <link>https://shivfitzpatrick.com/posts/gradle/</link>
      <pubDate>Mon, 07 Apr 2025 18:03:00 -0700</pubDate>
      <guid>https://shivfitzpatrick.com/posts/gradle/</guid>
      <description>&lt;p&gt;&amp;ldquo;Everything starts with a class in Java. Stick that in a text file,&#xA;and go get your IDE or Makefile or whatever set up. I’ll be right here&#xA;when you’re ready. Good? OK!&amp;rdquo; - Crafting Interpreters, 4.1 - The&#xA;Interpreter Framework&lt;/p&gt;&#xA;&lt;h2 id=&#34;or-whatever-setup&#34;&gt;&amp;ldquo;Or Whatever Setup&amp;rdquo;&lt;/h2&gt;&#xA;&lt;p&gt;Ok so we&amp;rsquo;re reading Crafting Interpreters, and the book wants to write&#xA;its examples in Java. There are a lot of ways you could go about&#xA;building and executing a Java project. Since I am a masochist who&#xA;refuses to let an IDE set up my project for me, I&amp;rsquo;ll need to choose&#xA;that setup for myself.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
