2
<p><span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@gumnos" class="u-url mention">@<span>gumnos</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> Seriously, I’d like to have my programming head exploded as well! Chapter 4 of the SICP did it as an underhand at Berkeley, it’s been a while!</p>
<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@ptmcg" class="u-url mention">@<span>ptmcg</span></a></span> Where&#39;s &quot;I&#39;ll get around to it?&quot;</p>
<p>One might ask &quot;don&#39;t you get bored with the repetition?&quot; The answer is no. </p><p>To me, each of these courses is akin to playing a jazz chart. Yes, there is an overall &quot;shape&quot; and general objective, but nothing is too scripted. I&#39;m always trying new things out and a lot is driven by spur-of-the-moment course discussion (&quot;oh yeah, let&#39;s try doing that&quot;). So, you really don&#39;t know what&#39;s going to happen.</p><p>I also iterate on things a lot (making various tweaks to material after each course).</p>
<p>Here are some of the test cases for that parser:</p><p>10 seconds ago<br />1000 seconds ago<br />10000 seconds ago<br />10 minutes ago<br />10 minutes from now<br />in 10 minutes<br />in a couple of minutes<br />20 seconds ago<br />in 30 seconds<br />in an hour<br />3 days from now<br />a couple of days from now<br />a week from today<br />in a couple of days<br />a couple of days from today<br />8am the day after tomorrow<br />6am tomorrow<br />0800 yesterday<br />1700 tomorrow<br />12:15 AM today<br />twenty-four hours from now<br />in just 10 seconds<br />in just a couple of hours<br />in exactly 1 hour</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> </p><p>&gt; Exploded heads 4 times in my advanced programming course.</p><p>Where does one sign up! I enjoy getting my head exploded! ☺</p>
<p>I just released pyparsing 3.2.1 with a very cool addition to the railroad diagrams that pyparsing generates for its parsers - non-terminal diagram elements now link to their definitions elsewhere in the diagram! This is pretty handy when the diagram is for a complex parser, as in this demo of a parser/evaluator for time references like &quot;3 weeks from today&quot; or &quot;0800 two days from now&quot; or &quot;in exactly twenty-four hours&quot;. <a href="https://fosstodon.org/tags/pyparsing" class="mention hashtag" rel="tag">#<span>pyparsing</span></a> <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://fosstodon.org/tags/parser" class="mention hashtag" rel="tag">#<span>parser</span></a> <a href="https://fosstodon.org/tags/railroaddiagram" class="mention hashtag" rel="tag">#<span>railroaddiagram</span></a></p>
Attached file 0
<p><span class="h-card" translate="no"><a href="https://mstdn.io/@OldTroll" class="u-url mention">@<span>OldTroll</span></a></span> I teach it in its original form using Scheme. I can&#39;t speak to the overall demand for this, but that&#39;s what I&#39;m teaching and I don&#39;t intend to change it.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> are you teaching SICP in js or lisp? Just curious if demand is for one or the other these days.</p>
<p>On the whole, I&#39;d say I had a pretty busy year of teaching in 2024:</p><p>- Attempted to implement Raft 8 times.<br />- Wrote 5 compilers<br />- Wrote 2 interpreters in Rust.<br />- Taught SICP twice.<br />- Exploded heads 4 times in my advanced programming course.</p><p>Plus, taught the Programming Languages course with <span class="h-card" translate="no"><a href="https://mastodon.social/@shriramk" class="u-url mention">@<span>shriramk</span></a></span> at Brown this fall. </p><p>Hmmm. Maybe there&#39;s a reason why I haven&#39;t been blogging...</p>