TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An Incremental Approach to Compiler Construction

77 pointsby l0stmanalmost 15 years ago

8 comments

mquanderalmost 15 years ago
This is similar in spirit to this much more detailed series of text files, which is a great introduction for a beginner:<p><a href="http://compilers.iecc.com/crenshaw/" rel="nofollow">http://compilers.iecc.com/crenshaw/</a><p>He spends a bunch of time on parsing, since it isn't Lisp.
评论 #1408765 未加载
mahmudalmost 15 years ago
That paper is epic. It's actually a tutorial for undergrads on compiler construction, however, Ghuloum does nothing but code generation. From start to finish.
评论 #1408574 未加载
thefoolalmost 15 years ago
As someone who knows very little about compilers, is there any good place to read up on the very basic terminology and such (what a parser is, what they mean by code generation, and get a rough outline how code goes from language to something the processor can understand) that is on a slightly more abstract level than this paper?
评论 #1408875 未加载
rarestblogalmost 15 years ago
I'm assuming most compilers don't ship nasm/masm/whatever with them. How do compilers do actual "assembly to executable" step?
评论 #1408550 未加载
评论 #1408567 未加载
hermanthegermanalmost 15 years ago
Here's something similar, more tutorial-like in Ruby: <a href="http://www.hokstad.com/compiler" rel="nofollow">http://www.hokstad.com/compiler</a>
larsbergalmost 15 years ago
At least as of ~four years ago or so, this is how the compiler construction course was taught at IU, according to one of my co-Ph.D. students who went there. He loved the course and its debuggable-at-each-step architecture.
gwernalmost 15 years ago
Similarly in Haskell, EHC: <a href="http://lambda-the-ultimate.org/node/366" rel="nofollow">http://lambda-the-ultimate.org/node/366</a>
kragenalmost 15 years ago
This is a great paper. It was one of my biggest inspirations for writing Ur-Scheme.