<story><title>My experience crafting an interpreter with Rust (2021)</title><url>https://ceronman.com/2021/07/22/my-experience-crafting-an-interpreter-with-rust/</url></story><parent_chain><item><author>green_man_lives</author><text>I have a question about the book. I haven&amp;#x27;t been able to ask anyone else because I don&amp;#x27;t know anyone else who is working through the book.&lt;p&gt;Is the first half of the book boring or is it just me?&lt;p&gt;I wasn&amp;#x27;t really expecting the scanner&amp;#x2F;lexer to be interesting, but the interpreter part as well feels like an absolute slog. I started with a lot of enthusiasm but just couldn&amp;#x27;t keep going after implementing functions. I downloaded someone else&amp;#x27;s JsLox implementation and was planning on just skipping to the VM part of the book and hopefully would find it more engaging.&lt;p&gt;I also am a pretty jr developer. I have about 5 years experience since I started learning to code so I just may not &amp;quot;get&amp;quot; it yet. But I found writing the interpreter to be incredibly boring.</text></item><item><author>crop_rotation</author><text>Crafting interpreters is the best compiler&amp;#x2F;interpreter book I read. I had tried both the Dragon book and Andrew Appel&amp;#x27;s &amp;quot;Modern Compiler Implementation in Java&amp;quot; and Crafting Interpreters feels like a masterclass in how to write an accessible book. The author just has a special talent for explaining complex concepts simply.</text></item></parent_chain><comment><author>crop_rotation</author><text>It&amp;#x27;s possible the subject itself is &amp;quot;boring&amp;quot;, and I have found other compiler books to mostly be intolerable.&lt;p&gt;Crafting Interpreters, IMHO, is the most accessible book on the subject. If you didn&amp;#x27;t find the implementation of the first part exciting, I would suggest to probably ignore the book code after reading the text and implement it yourself, and later compare with the book implementation. I encountered several pleasent surprises using this approach.</text></comment>
<story><title>My experience crafting an interpreter with Rust (2021)</title><url>https://ceronman.com/2021/07/22/my-experience-crafting-an-interpreter-with-rust/</url></story><parent_chain><item><author>green_man_lives</author><text>I have a question about the book. I haven&amp;#x27;t been able to ask anyone else because I don&amp;#x27;t know anyone else who is working through the book.&lt;p&gt;Is the first half of the book boring or is it just me?&lt;p&gt;I wasn&amp;#x27;t really expecting the scanner&amp;#x2F;lexer to be interesting, but the interpreter part as well feels like an absolute slog. I started with a lot of enthusiasm but just couldn&amp;#x27;t keep going after implementing functions. I downloaded someone else&amp;#x27;s JsLox implementation and was planning on just skipping to the VM part of the book and hopefully would find it more engaging.&lt;p&gt;I also am a pretty jr developer. I have about 5 years experience since I started learning to code so I just may not &amp;quot;get&amp;quot; it yet. But I found writing the interpreter to be incredibly boring.</text></item><item><author>crop_rotation</author><text>Crafting interpreters is the best compiler&amp;#x2F;interpreter book I read. I had tried both the Dragon book and Andrew Appel&amp;#x27;s &amp;quot;Modern Compiler Implementation in Java&amp;quot; and Crafting Interpreters feels like a masterclass in how to write an accessible book. The author just has a special talent for explaining complex concepts simply.</text></item></parent_chain><comment><author>shadowofneptune</author><text>Compiler writing does involve a fair amount of tedium. I don&amp;#x27;t think it has anything to do with experience, either. It&amp;#x27;s why tools like Yacc, Lemon, or ANTLR exist.</text></comment>