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.

Implementing a JIT Compiled Language with Haskell and LLVM

81 pointsby nielsabout 11 years ago

3 comments

lallysinghabout 11 years ago
Even if you're not curious about Haskell, have a look at the parser here. Parsing in Haskell feels like cheating.
评论 #7340385 未加载
评论 #7340613 未加载
batterseapowerabout 11 years ago
A while ago I wrote a Haskell compiler for a simple functional language that uses the JIT features of LLVM in order to make the Haskell-level &quot;compile&quot; function lazy in the term being compiled. Quite a fun trick I thought: <a href="https://github.com/batterseapower/productive-compiler/blob/master/Main.hs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;batterseapower&#x2F;productive-compiler&#x2F;blob&#x2F;m...</a>
taspeotisabout 11 years ago
Good job with that trailing &#x2F;<p><pre><code> Implementing a JIT Compiled Language with Haskell and LLVM (stephendiehl.com) 195 points by rwosync 53 days ago | flag | comments </code></pre> <a href="https://news.ycombinator.com/item?id=7031998" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7031998</a>
评论 #7340656 未加载
评论 #7341007 未加载
评论 #7341170 未加载