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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A toy Mathematica interpreter in Haskell

191 点作者 soofy超过 8 年前

6 条评论

denfromufa超过 8 年前
Mathics is implementation of Mathematica (actually it is now called Wolfram language) using sympy, ply, and django.<p>It also provides jupyter kernel.<p>The original author was hired by Wolfram, but the project still lives on!<p><a href="http:&#x2F;&#x2F;mathics.github.io" rel="nofollow">http:&#x2F;&#x2F;mathics.github.io</a><p>Maxima is older than Mathematica and written in LISP. One of its contributors has written MockMMA to implement Mathematica in LISP:<p><a href="https:&#x2F;&#x2F;people.eecs.berkeley.edu&#x2F;~fateman&#x2F;lisp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;people.eecs.berkeley.edu&#x2F;~fateman&#x2F;lisp&#x2F;</a>
评论 #12723406 未加载
spitfire超过 8 年前
I&#x27;ve written a Mathematica clone twice before. This guy got there much faster ( I was writing in C++).<p>However both times I got the basic language going then realized it was the standard library that made Mathematica gold and abandoned it.<p>Kudos to him and it&#x27;s good work!
评论 #12716754 未加载
评论 #12716469 未加载
bertiewhykovich超过 8 年前
This proves, once again, what a world-class, unbeatable tool Haskell is for writing toy interpreters.
评论 #12717301 未加载
评论 #12719764 未加载
kccqzy超过 8 年前
I&#x27;ve written a toy TeX interpreter&#x2F;macro-expander as my first &quot;large&quot; Haskell program. It really made me think hard about both Haskell and TeX. I think this is a great way to learn two languages at the same time if you already have experience.
Mathnerd314超过 8 年前
It would be interesting to benchmark it against the real thing.
mrcactu5超过 8 年前
doesn&#x27;t this turn Mathematica into a scripting language for Haskell?
评论 #12717308 未加载