captbaritone / eel-wasm

Compile Nullsoft's EEL code to Web Assembly
https://eel.capt.dev
48 stars 4 forks source link

Check exponentiation associativity #30

Closed captbaritone closed 4 years ago

captbaritone commented 4 years ago

What does 2 ^ 2 ^ 4 resolve to?

jberg commented 4 years ago

I know you had a script to shows you function calls, does the ^ operator actually get used in presets? I know pow exists. I think ^ might only exist in the the cockos eel.

still a fun question regardless :D

captbaritone commented 4 years ago

Yeah, this was mostly just me being interested in understanding what's the difference between associativity and precedence as I read through my compiler text book :)

jberg commented 4 years ago

Yeah, this was mostly just me being interested in understanding what's the difference between associativity and precedence as I read through my compiler text book :)

Yea, cool stuff. I should probably check how Im doing it currently hah