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.

Show HN: A Lispy, embedded Forth

61 pointsby codr4lifeover 8 years ago

9 comments

simplifyover 8 years ago
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 未加载
ioddlyover 8 years ago
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 未加载
kazinatorover 8 years ago
&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 未加载
mondoshawanover 8 years ago
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 未加载
tluyben2over 8 years ago
That is a bit too exciting this early in the morning...
评论 #13537383 未加载
0xdeadbeefbabeover 8 years ago
I&#x27;ve been wondering if they called the hp48g&#x27;s forth ui lisp to avoid lawsuits.
childintimeover 8 years ago
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.
agumonkeyover 8 years ago
reminds me of jvtoups emacs-lisp stacking monad (IIRC)
aesirover 8 years ago
abc