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.

Developing a Statically Typed Programming Language (2017)

143 pointsby proxybopover 5 years ago

6 comments

shpongledover 5 years ago
Pierce&#x27;s <i>Types and Programming Languages</i> is a phenomenal textbook. I&#x27;m almost done with my implementation of System F-omega (polymorphic lambda calculus with higher kinded types and type operators), featuring a full handwritten lexer&#x2F;parser with helpful diagnostics.<p>My end goal is to use it as one phase of IR for a functional language compiler.
评论 #21740517 未加载
评论 #21743610 未加载
AdieuToLogicover 5 years ago
Cool article.<p>While I cannot find the exact quote from Martin Odersky[0], I do believe he once said something along the line of, &quot;it takes about ten years to make a complete typed language.&quot;<p>If anyone also recalls this and has a link to the quote, I would much appreciate the pointer to it.<p>0 - <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Martin_Odersky" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Martin_Odersky</a>
Scramblejamsover 5 years ago
Suggest removing the anchor from the link, as it drops you into the middle of the piece. That, or add “Type Rules” to the title.
hhas01over 5 years ago
Curious: from what I can see, a type system is really just an embedded declarative DSL for doing set algebra.<p>So is there a technical reason why education and implementations always intertwine it with a larger client language, rather than treating it as a complete, self-contained entity in its own right? Or is that lack of decomposition just oversight?
评论 #21742333 未加载
评论 #21742304 未加载
评论 #21743397 未加载
评论 #21742185 未加载
评论 #21742170 未加载
LessDmesgover 5 years ago
I started reading but stopped when I saw &quot;succ n&quot; and &quot;prev n&quot;. Unary numbers are so academic and disconnected from reality that I lose interest in any paper that uses them. Lambda calculus makes me yawn too. Guess I&#x27;ll be making a programming language on my own to see how far I get without reading TAPL or any CS papers :-)
评论 #21741393 未加载
macintuxover 5 years ago
2017