Late 2020, pre-AI, which I'm not sure if that makes it better or worse...
#include "uwu.h"
#include <stdio.h>
iwint main() stawt
iwint owo is 5 yiff
fuw (iwint uwu is 0 yiff uwu smol owo yiff uwu incwease) stawt
owo is owo wif uwu yiff
spweak nuwumber_fowmat, owo spwake yiff
stawp
stawp
-- // uwu.h
#define is =
#define yiff ;
#define stawt {
#define stawp }
#define fuw for
#define iwint int
#define wif +
#define wiffout -
#define smol <
#define larg >
#define incwease ++
#define spweak printf(
#define spwake );
#define nuwumber_fowmat "%d\n"
Obviously this one also runs DOOM ;) #include <stdio.h>
#define OpenBrace {
#define CloseBrace }
#define OpenBracket [
#define CloseBracket ]
#define OpenParenthesis (
#define CloseParenthesis )
#define NoReturnType void
#define NoParameter NoReturnType
#define MainFunction main
#define Semicolon ;
#define FunctionPrototype
#define ActualFunction
#define PointerTo(atype) atype*
#define OutputToStdout(astring) printf(astring)
#define IsEqualTo =
FunctionPrototype NoReturnType
MainFunction OpenParenthesis NoParameter CloseParenthesis Semicolon
ActualFunction NoReturnType
MainFunction OpenParenthesis NoParameter CloseParenthesis
OpenBrace
PointerTo(char) string IsEqualTo "Now is the time for all good men, etc.\n" Semicolon
OutputToStdout(string) Semicolon
CloseBraceHad a good uncontrolled laugh during a team presentation with a colleague. It was a bit disrespectful for the poor presenter who had nothing to do with this…
Can't find shouting.h anymore unfortunately.
https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh...
In awe at whatever inspired this though
Making a language that compiles through LLVM is no small task and takes a lot of expertise. Most of the time people do it because they have a point of view and are highly technical.
Making a joke language via AI is an entirely different exercise. Not without value but not the same, especially when evaluating what it means about the author.
Maybe, but we don’t always discuss our tool stack before showing our work because a lot of times it’s assumed or not interesting. AI is a tool, it’s a lever that you push on to multiply your effort. The product of your effort speaks for itself, as it always has.
Buried near the end is a mention of per-frame arena allocation, which is an interesting idea for a game engine (although not a novel one).
Thank you for keeping the token furnace burning!
Doom is not harder to re-implement than a language.
The language does not "work" by any sense of the word - which is why it took Doom so long to implement.
You could get GPT to "self host" a "language" in 5 hrs. That's not impressive.
The language actually working and being non-trivial would be in 20x the time.
Sure, GPT can build yet-another-Lisp in 2 minutes. You could copy Lispy yourself in that time: https://www.norvig.com/lispy.html
GPT/Fable/what have you is not building this language, as its laid out, and "working" in a true sense that fast.
Either OP is completely full of it, the language didn't actually work (and likely still doesn't), or the language is far less sophisticated than it seems from the examples - it's and the examples are minimal, so it's kind of hard to tell what it actually does...
If there's actual outrage from the group, it will surface from them without your involvement.
If it offends YOU, just say so plainly.
The hypothetically offended group doesn't need a random stranger to white knight for them in the comment section of a niche tech news website.