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.

F (2006)

145 pointsby hwayne11 months ago

8 comments

declan_roberts11 months ago
&gt; All primitives are denoted by single symbols<p>Take an axe to the troubleshoot-ability of your language with this one weird trick that makes it impossible to google.
评论 #40730853 未加载
评论 #40731881 未加载
评论 #40743304 未加载
Duanemclemore11 months ago
Stevan Apter is awesome, I love &quot;No Stinking Loops.&quot; His episode of the ArrayCast is great.<p><a href="https:&#x2F;&#x2F;www.arraycast.com&#x2F;episodes&#x2F;episode26-stevan-apter" rel="nofollow">https:&#x2F;&#x2F;www.arraycast.com&#x2F;episodes&#x2F;episode26-stevan-apter</a>
dang11 months ago
Related. Others?<p><i>F (2006)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24238846">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24238846</a> - Aug 2020 (56 comments)<p><i>F – a pure functional concatenative language (2006)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10776314">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10776314</a> - Dec 2015 (7 comments)
mrkeen11 months ago
&gt; In F, everything is a function from triples of (environment;stack;queue) to triples of (environment;stack;queue).<p>I dabble with compiler-writing, and one of the techniques there is to program an abstract machine. It fills a nice niche - it&#x27;s a bit more concrete than hacking together an interpreter over your AST, and a lot less concrete than writing out LLVM instructions.<p>Some examples are Krivine machines and SECD machines (which stands for Stack, Environment, Control, Dump).<p>They let you play around with ideas before you commit to a particular semantics of your language, for instance, whether you&#x27;ll pass by value or reference, via the stack, or via the heap.<p>But exposing (e;s;q) directly to the programmer is a fascinating idea! If I&#x27;m thinking about it right, it means a programmer could write code to take a parameter which was passed in via the stack, and decide &quot;No I think this should be on the heap instead&quot; and then update all pointers in the program accordingly.
ithkuil11 months ago
Also interesting: <a href="https:&#x2F;&#x2F;www.uiua.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.uiua.org&#x2F;</a><p>Concateniative APL-like (with Unicode symbols but with pragmatic input method)
pmarreck11 months ago
In the &quot;simple and interesting language&quot; front we also recently got a post about Forsp, a hybrid between a lisp and Forth: <a href="https:&#x2F;&#x2F;github.com&#x2F;xorvoid&#x2F;forsp">https:&#x2F;&#x2F;github.com&#x2F;xorvoid&#x2F;forsp</a><p>What is the simplest most interesting language?
encom11 months ago
This is the opposite of click bait.
mrgoldenbrown11 months ago
Unrelated to F# (Microsoft&#x27;s functional .net language) as far as I can tell.