Re:Tabloid: The Clickbait Headline Programming Language
by dmcbrayer on Thursday September 24, 2020 @10:45AM
(#24579074)
This seems like a pretty large effort to commit to a joke. I applaud the effort, but I'm curious. What's your motivation?
[ Parent
| on HN ]
Re:Tabloid: The Clickbait Headline Programming Language
by thesephist on Thursday September 24, 2020 @10:48AM
(#24579113)
I've implemented a few small toy languages before and Tabloid was intentionally sort of sketched out to be similar (expression-based grammars, whitespace-insensitive, recursive, etc.) so it was just mostly a matter of reimplementing those things with slight variations (the biggest being that entire phrases could be keywords). Doing so in JS made prototyping pretty fast.
I guess besides the fun of just the comedy of the idea I wanted to get back into JS (I haven't written JS in a while) and wanted a project I could fit into one night, so I sort of swizzled the language design so it wasn't super complex and doable in a few hours.