| ▲ | mkl 4 hours ago | ||||||||||||||||
> it's intended to minimize foot-guns to lower the error rate when generating Mog code. This is why Mog has no operator precedence: non-associative operations have to use parentheses, e.g. (a + b) * c. Almost all the code LLMs have been trained on uses operator precedence, so no operator precedence seems like a massive foot-gun. | |||||||||||||||||
| ▲ | reverius42 an hour ago | parent | next [-] | ||||||||||||||||
Not sure that matters when the entire language spec is expected to be part of every context window? The LLM should be capable of using the language spec to express intended precedence. | |||||||||||||||||
| ▲ | NewsaHackO 3 hours ago | parent | prev [-] | ||||||||||||||||
I agree. But also, do people rely on operator precedence when coding? I just automatically use parentheses in general. | |||||||||||||||||
| |||||||||||||||||