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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Tabloid – The Clickbait Headline Programming Language

270 点作者 luuuzeta大约 2 年前

16 条评论

thesephist大约 2 年前
Hey HN! Fun to see this project from my college years on HN again. To clear my name, I <i>have</i> actually written other languages that are arguably more useful, like Oak [0] which I used to build a bunch of personal software infrastructure [1] including my current daily-driver apps for notes, longform writing, a Twitter client, a personal search engine, and a few other knickknacks.<p>I find building little toy interpreters and programming languages fantastically fulfilling, creatively energizing, and a really fun way to learn how such a common element of our work that&#x27;s often a black box functions inside. I&#x27;ve written before about how to get started [2] with these kinds of little toy programming language projects if you&#x27;re curious to dive in.<p>[0] <a href="https:&#x2F;&#x2F;oaklang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;oaklang.org&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;topics&#x2F;oaklang">https:&#x2F;&#x2F;github.com&#x2F;topics&#x2F;oaklang</a><p>[2] <a href="https:&#x2F;&#x2F;thesephist.com&#x2F;posts&#x2F;pl&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thesephist.com&#x2F;posts&#x2F;pl&#x2F;</a>
评论 #35452670 未加载
luuuzeta大约 2 年前
The author has one of the most interesting projects list I&#x27;ve seen: <a href="https:&#x2F;&#x2F;thesephist.com&#x2F;projects&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thesephist.com&#x2F;projects&#x2F;</a>
评论 #35448204 未加载
评论 #35448053 未加载
leokennis大约 2 年前
The &quot;EXPERTS CLAIM limit TO BE 10&quot; is the epitome of our times. People who agree can hide behind authority and people who disagree don&#x27;t need any knowledge to do so, the fact that something was claimed by an expert is reason enough.
评论 #35451126 未加载
awb大约 2 年前
On a related note: I Just a new app called Boring Report on r&#x2F;SideProject that strips clickbait content from articles so you can read the info without the sensationalism<p><a href="https:&#x2F;&#x2F;www.boringreport.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.boringreport.org&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;SideProject&#x2F;comments&#x2F;12bgn7p&#x2F;weve_created_boring_report_an_ios_app_that_uses&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;SideProject&#x2F;comments&#x2F;12bgn7p&#x2F;weve_c...</a>
评论 #35448680 未加载
velcrovan大约 2 年前
I did an implementation of this in Racket: <a href="https:&#x2F;&#x2F;github.com&#x2F;otherjoel&#x2F;tabloid">https:&#x2F;&#x2F;github.com&#x2F;otherjoel&#x2F;tabloid</a>
Tade0大约 2 年前
&gt; PLEASE LIKE AND SUBSCRIBE<p>Perfection.<p>I had a similar, never realized concept of a language named &quot;Spouse&quot;(no gender implied), with keywords such as &quot;You promised we would ... on ...&quot;(declarations), &quot;you always ...&quot;(loops) and &quot;Fine.&quot;(marking the end of the program). I couldn&#x27;t get the grammar to be both consistent and sound like the real deal though.
fjfaase大约 2 年前
Funny little language. I used it in an exercise for the a workshop I gave at MCH2022 called &#x27;Workshop: A practical approach to parsing&#x27; [1]. My solution can be found at GitHub [2] and can be used with IParseStudio [3] to execute programs written in Tabloid using the build-in interpreter.<p>[1]: <a href="https:&#x2F;&#x2F;fransfaase.github.io&#x2F;MCH2022ParserWorkshop&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fransfaase.github.io&#x2F;MCH2022ParserWorkshop&#x2F;</a> [2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;FransFaase&#x2F;MCH2022ParserWorkshop&#x2F;blob&#x2F;main&#x2F;docs&#x2F;Tabloit_grammar.txt">https:&#x2F;&#x2F;github.com&#x2F;FransFaase&#x2F;MCH2022ParserWorkshop&#x2F;blob&#x2F;mai...</a> [3]: <a href="https:&#x2F;&#x2F;fransfaase.github.io&#x2F;MCH2022ParserWorkshop&#x2F;IParseStudio.html" rel="nofollow">https:&#x2F;&#x2F;fransfaase.github.io&#x2F;MCH2022ParserWorkshop&#x2F;IParseStu...</a>
Joker_vD大约 2 年前
But does it support fake news?<p><pre><code> WHAT IF TOTALLY RIGHT IS ACTUALLY COMPLETELY WRONG YOU WON&#x27;T WANT TO MISS &#x27;Alt-facts in logic are here&#x27; LIES! YOU WON&#x27;T WANT TO MISS &#x27;Fake news are not discovered yet&#x27; PLEASE LIKE AND SUBSCRIBE </code></pre> It prints that &quot;FAKE NEWS ARE NOT DISCOVERED YET!&quot;, disappointingly enough.
davidkunz大约 2 年前
Looks like I&#x27;ll be doomscrolling through massive code bases.
评论 #35451465 未加载
hryx大约 2 年前
Gotta love goofy stunts that take effort to make! A spiritually similar programming language that also screams a lot is ArnoldC: <a href="https:&#x2F;&#x2F;lhartikk.github.io&#x2F;ArnoldC&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lhartikk.github.io&#x2F;ArnoldC&#x2F;</a>
sam0x17大约 2 年前
For some reason I lost it at the &quot;PLEASE LIKE AND SUBSCRIBE&quot;
rwoerz大约 2 年前
Made my day! What about import statements like &quot;CELEBRETIES LOVE X&quot; or an &quot;unsafe&quot; keyword like &quot;SECURITY EXPERTS HATE THIS TRICK&quot;?
miniBill大约 2 年前
I see your tabloid and I raise you a <a href="https:&#x2F;&#x2F;github.com&#x2F;esseks&#x2F;monicelli">https:&#x2F;&#x2F;github.com&#x2F;esseks&#x2F;monicelli</a>
ciwolsey大约 2 年前
Some people just have way too much free time.
评论 #35450376 未加载
评论 #35449982 未加载
评论 #35450125 未加载
varjag大约 2 年前
Perhaps SMALLER THAN should of been NOT ANYWHERE NEAR OF
the_common_man大约 2 年前
Brilliant, made my day
评论 #35449990 未加载