for context this happened because i realized that my compiler made variable definitions take priority over literal definitions and i wanted to see if doing this was possible. i do not intend to fix it.
Please do, I can already see someone (me) finishing some code in a rush way past the time you should be working at. And accidentally writing 42=a when you really meant 42==a which wouldn't cause immediate trouble if your compiler doesn't check for this but everything after that point will be a nightmare to debug. Mistakes always happen and the worst ones are those you don't expect. And no sane person would expect THIS!
i made some programming in my os shell (github.com/nezdanchick/enaos)
here is syntax: do command1;command2 - make smt in one line rep n command - make command n times [command] - evaluate command var a=command - make an alias to command
175
u/RockRancher24 Jan 06 '26
for context this happened because i realized that my compiler made variable definitions take priority over literal definitions and i wanted to see if doing this was possible. i do not intend to fix it.
21
u/leonllr Jan 06 '26
Isn't that just postfix/reverse polish notation ?
49
u/d0pe-asaurus Jan 06 '26
Seems logical
47
u/IAMPowaaaaa Jan 06 '26
i vividly remember an esolang that allows exactly this
16
u/xcski_paul Jan 06 '26
We already have JavaScript.
2
u/ChocolateDonut36 Jan 07 '26
malbolge
1
u/[deleted] Jan 07 '26
You would love Pie then
1
u/_nezdanchick_ Jan 08 '26
i made some programming in my os shell (github.com/nezdanchick/enaos)
here is syntax: do command1;command2 - make smt in one line rep n command - make command n times [command] - evaluate command var a=command - make an alias to command
i can make something like this:
/>var a=1
/>rep 3 do echo [a];var a=[add [a] 1]
1
2
3
/>echo [a]
4
1
u/CustomCuber Jan 08 '26
the dream
1
u/JasonAlmeida Mar 13 '26
Lemme guess, Javascript?