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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: A Lispy, embedded Forth

61 点作者 codr4life超过 8 年前

9 条评论

simplify超过 8 年前
I strongly believe concatenative languages – particularly statically typed ones – are one paradigm of programming that have not been explored nearly enough. It&#x27;s good to see more activity in this area :)<p>Here&#x27;s another interesting concatenative language in development that I&#x27;m following: <a href="http:&#x2F;&#x2F;kittenlang.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;kittenlang.org&#x2F;</a>
评论 #13538725 未加载
ioddly超过 8 年前
That&#x27;s cool! I actually tried something like this myself, but ended up with a less conventional syntax.<p>I&#x27;m not really familiar with Forth, but my impression from writing a little bit of postfix code was that some pattern matching would make e.g. writing a large conditional much easier.
评论 #13537588 未加载
评论 #13537786 未加载
kazinator超过 8 年前
&gt; <i>I&#x27;ve been craving for a trivial, embedded scripting language that feels just right for a long, long time; something I can quickly drop into any project that needs scripting without too much ceremony.</i><p>How are you quickly and casually going to drop in a scripting language into any project, if it requires Common Lisp?<p>Maybe this means &quot;into any CL project&quot;. But why would you need a scripting language in a CL project.
评论 #13542076 未加载
评论 #13541564 未加载
mondoshawan超过 8 年前
So, serious question: if the property of a concatenative language is the ability to pass outputs to inputs of a function without specifying parameters, could Iolang or Smalltalk also be described as concatenative? Ie:<p><pre><code> Transcript show: &#x27;foo&#x27;; cr. </code></pre> In this case the output of &quot;Transcript show:&quot; is the Transcript object, which is used as the sender for cr.
评论 #13541026 未加载
tluyben2超过 8 年前
That is a bit too exciting this early in the morning...
评论 #13537383 未加载
0xdeadbeefbabe超过 8 年前
I&#x27;ve been wondering if they called the hp48g&#x27;s forth ui lisp to avoid lawsuits.
childintime超过 8 年前
actually I&#x27;d like to see a (~16 bit) Forth backend for LLVM... so I don&#x27;t have to &quot;think RPN&quot; myself.<p>just load the binary into serial flash, point the interpreter at it, and of it goes.
agumonkey超过 8 年前
reminds me of jvtoups emacs-lisp stacking monad (IIRC)
aesir超过 8 年前
abc