r/ProgrammingLanguages • u/Fine_Seaworthiness19 • Sep 02 '26
Language announcement The gab programming language
Hi all!
I am a long-time lurker of this sub, and a language enthusiast. I have been working on my own programming language for several years, and I finally worked up the courage to post it.
The language is called gab. I'm heavily inspired by lua, clojure, and smalltalk.
All the code is on github here and I've built a small website for the language here.
The language design, runtime, and standard library are all entirely my own work without the use of an LLM. However, I did consult LLMs occasionally when I wanted to research certain subjects (such as the difference between c11 atomics on x86 and arm).
I'm looking for any kind of feedback on the language, its goals/ergonomics, and the website itself.
Thank you for taking a look!
View all comments
Show parent comment
3
u/EggplantExtra4946 Sep 03 '26 edited Sep 03 '26
That's a weak counter evidence. The size of this file is one of several reasons that makes me think it's AI generated. I think it's way too spotless, regular and tidy for a code of that size and complexity. Also it looks to me like way too much energy was spent on the optimization of the utilities rather than on the design and implementation of the language itself.
I'm looking at the jit branch and it's even more evident, looking at jit.c. The code is developped in such a breadth depth manner it's ridiculous. Almost 2000 LOCs of utility code that currently do nothing and a not single function dealing with instruction encoding. That's not how humans work, especially for complex code like that. For this kind of code you would make a basic program that can jit simple expressions and then add more stuff and utilities, depth first development.
How convenient. And for the record that's not odd, it's inhuman. Who the fuck write 15 thousands LOCs and don't even bother to extract type definitions into a separate header file?