TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Creating Your Own Programming Language – Laurence Tratt [video]

54 点作者 matt_d7 个月前

2 条评论

fuzztester6 个月前
Coincidentally just saw this video a few days ago.<p>Interesting approach, to use RPN for expressions, including for the condition in the while statement.<p>I could understand most of the logic of the interpreter, except for the part about how the while statement is implemented.<p>I did not quite understand the parts of the code with<p><pre><code> case &quot;while&quot; </code></pre> and<p><pre><code> case &quot;end </code></pre> fragments.<p>That is, around the region of lines 11 to 14 or so, at about 18:0 in the video.<p>How does the code there, work?
评论 #42235757 未加载
评论 #42236673 未加载
评论 #42235672 未加载
评论 #42290021 未加载
atan26 个月前
On the same topic, pikuma also published a new compiler course recently:<p><a href="https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;create-a-programming-language-compiler" rel="nofollow">https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;create-a-programming-language-com...</a>