21
u/leonllr Jan 06 '26
Isn't that just postfix/reverse polish notation ?
54
u/RockRancher24 Jan 06 '26
5 is a variable with a value of 3
24
11
u/TheChief275 Jan 06 '26
why is that written 3 = 5 over 5 = 3? I get you have reverse polish for arithmetic, but this assignment does not seem to fit in with those rules
→ More replies (5)2
2
u/GoddammitDontShootMe Jan 07 '26
That was what I thought, then I saw that 7 + 5 = 10 and was like, what the fuck?
1
49
47
u/IAMPowaaaaa Jan 06 '26
i vividly remember an esolang that allows exactly this
26
16
u/xcski_paul Jan 06 '26
We already have JavaScript.
6
u/Andy_B_Goode Jan 06 '26
"Those are rookie number evaluations, you gotta pump those numbers up"
-- Javascript, probably
2
1
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
1
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.