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.

Write Yourself a Haskell in Lisp

129 pointsby malloc47over 12 years ago

5 comments

tikhonjover 12 years ago
If you're interested in something similar but a little more theoretical, take a look at "Simply Easy"[1], a little paper on implementing a couple of variations on the lambda calculus. The main idea is to demonstrate how to evaluate a dependently typed language.<p>It starts by looking at how to evaluate the simply typed lambda calculus and then going from that to a dependently typed lambda calculus. Surprisingly, the transformation is not all that complicated!<p>The actual code is in Haskell.<p>[1]: <a href="http://strictlypositive.org/Easy.pdf" rel="nofollow">http://strictlypositive.org/Easy.pdf</a>
saosebastiaoover 12 years ago
Cool. Does it qualify as some sort of mutual recursion if you use haskell to build a lisp which builds haskell?
评论 #5236080 未加载
Quiarkover 12 years ago
Hehe, I love this. I have been doing something similar, writing a compiler of Scheme-like language to x86 in Haskell.<p><a href="https://bitbucket.org/quiark/hsc" rel="nofollow">https://bitbucket.org/quiark/hsc</a><p>The whole purpose of that mental gymnastics was to learn x86 assembly while practicing my Haskell ;)
huhsamovarover 12 years ago
Another 'X written in Y' post. Awesome.<p>I think I'll save myself the wasted time and just use X from the get-go.
评论 #5237462 未加载
评论 #5237398 未加载
Raphaelover 12 years ago
Make the Yule-tide gay.