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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Writing a C Compiler (2017)

107 点作者 lrsjng将近 2 年前

5 条评论

hcks将近 2 年前
Yet another “compiling” course that puts all the emphasis on parsing.<p>Rule of thumb: parsing&#x2F;lexing shouldn’t takes more than 10% of your compiler course.
评论 #36260214 未加载
评论 #36260537 未加载
评论 #36259734 未加载
评论 #36258759 未加载
评论 #36259740 未加载
评论 #36260171 未加载
评论 #36261172 未加载
评论 #36259177 未加载
dananjaya86将近 2 年前
Book version to be released in October &#x27;23 : <a href="https:&#x2F;&#x2F;nostarch.com&#x2F;writing-c-compiler" rel="nofollow">https:&#x2F;&#x2F;nostarch.com&#x2F;writing-c-compiler</a>
评论 #36257865 未加载
bigdict将近 2 年前
Has anyone worked through this? Is it a good (soon to be) book?
userbinator将近 2 年前
IMHO writing a compiler for a high-level language, in an even higher level language, somehow feels a bit &quot;anachronistic&quot; (for lack of better word).
评论 #36257603 未加载
评论 #36257906 未加载
评论 #36257703 未加载
RcouF1uZ4gsC将近 2 年前
Here is how to write a C compiler in Python that correctly compile the vast majority of C programs per the ISO C standard:<p><pre><code> print(“You have some form of undefined behavior, which means printing this is a valid response per the C standard”)</code></pre>
评论 #36257996 未加载