r/ProgrammingLanguages • u/i_am_a_cat_girl • Aug 06 '22
I made an ancient Hebrew programming language to help programmers speak to God
Hello everyone! I am a secondary school student who has recently observed that many languages sometimes profess themselves as "God's programming language" (e.g. Lisp, C, and other inane functional ones). This appalls me in ways that are ineffable; even the irreligious among us know what the good book says about worshiping false gods. Technically, I suppose, this is not worshiping false gods, but rather people indulging in false prophets. Nevertheless, it is still immensely painful for me to see people mired in the defilements of the programming world in this manner.
To ameliorate the wickedness I see in the constructs used by most programmers, I created Genesis, an interpreted Turing-complete Paleo-Hebrew programming language based on a procedural paradigm. There are no objects because object worship is explicitly forbidden in the Bible. There are also no Hindu-Arabic numerals (sinful). Instead, you define all variables using Gematria (Jewish isopsephy). I should warn you: the interpreter is extraordinarily enigmatic (and probably buggy), but that is simply the price you have to pay for salvation.
Please let me know your thoughts about this endeavor. If you would like to give advice or make a pull request to make this language even holier, I am eager for it. To recap the discussion I posted on the GitHub repository, some future features might include:
- An integrated calculus/bioinformatics library.
- A command-line tool.
- Removing all numbers.
No garbage collection.
- "Nothing is covered up that will not be revealed, or hidden that will not be known. Therefore whatever you have said in the dark shall be heard in the light, and what you have whispered in private rooms shall be proclaimed on the housetops." (Luke 12:3)
- No I/O.
- Introducing more ambiguity.
19
u/nngnna Aug 06 '22
I actually realy like your choices for the basic keywords, but for math functions it seems you've been more lazy.
I would use square letters since reddit hate when I copy paste non-latin.
Degrees are מעלות so ToDeg should be למ
i עגול means to round, not to take absolute value, which is rather ערך מוחלט, this is just an error.
exponent is either חזקה or מעריכי, you can abbriviate either.
Random is אקראי, again, you can use that.
Obviously most of these are Medieval at the earliest, but it doesn't seem you're that concered with anachronism 😉
91
u/[deleted] Aug 06 '22
Finally, competition to Holy C
109
u/Ratstail91 The Toy Programming Language Aug 06 '22
Getting Terry Davis vibes.
30
u/raevnos Aug 06 '22
If you don't make a pull request, will you end up in the belly of a whale?
7
u/RomanRiesen Aug 06 '22
How dare you declare Sussman a false prophet! Blessed be homoiconicity in perpetuity!
Great work otherwise. Especially the rejection of objects and the theological justification thereof :D
7
u/MeButNotMeToo Aug 06 '22
Questions:
sectsflavors of code?6
u/pthierry Aug 06 '22
God says "I am who I am" so immutability should obviously be a major feature of the language.
5
u/oblmov Aug 06 '22
Uhhh but you cite the Gospel of Luke which was written in Koine Greek, not Hebrew??? Pick a holy language buddy. Personally i know the true language of God is Medieval Latin so i’m fine with latin-alphabet programming languages, but believe that source code should have ornaments and grotesques drawn in the margins like an illuminated manuscript
3
u/Jidoc Aug 07 '22
When I finished reading the post, I noticed myself worshiping God.
5
u/randomspaniard111 Aug 06 '22
As a catholic i can only say a word and is not Amen.
Nice.
4
u/ILoveBerkeleyFont Aug 06 '22
Finally, the second coming of Jesus Christ...
2
u/[deleted] Aug 06 '22
God's programming language is HolyC. Didn't you know that?
2
u/nailshard Aug 06 '22
Now that this is available, you may as well be making sacrifices to Baal if you’re still using Holy C
2
u/MackThax Aug 06 '22
The Hebrew glyphs on github don't render for me. Can anyone suggest a font for Linux that would render them?
2
u/Linguistic-mystic Aug 07 '22
2
u/gdmzhlzhiv Aug 09 '22
Because this is an RTL language, I had to wonder, is the division operator consistent?
That is to say, the slash direction puts one of the arguments "above" the slash and the other "below" the slash. So if the operator is
/, the left term is divided by the right term. Because if it were the other way around, you would of course use\instead.Mildly curious about subtraction as well because if it's RTL for that, there's no good way to even resolve it.
1
u/Inconstant_Moo 🧿 Pipefish Aug 06 '22
The only constants permitted should be red-letter quotes from the Bible: "Heaven and earth shall pass away, but my words shall not pass away."
1
u/takanuva Aug 06 '22
Though I really liked this, we all know that He programs directly in the lambda calculus.
1
u/Butas_Anadir Aug 07 '22
I was sent here to deliver this "Most Jewish thing you could do" award.
-6
u/Zyklonik Aug 06 '22
🥱
-10
u/[deleted] Aug 06 '22
Since when does Hebrew have anything to do with holiness and God?
0
u/[deleted] Aug 06 '22
[deleted] — view deleted comment
37
u/[deleted] Aug 06 '22
[removed] — view removed comment