| 4 Feb 2026 |
| Domi set a profile picture. | 08:37:50 |
| Domi changed their profile picture. | 08:38:06 |
| Domi changed their profile picture. | 08:38:22 |
actioninja | I'm actually completely baffled to find out that in nix math operations are parse time rewritten to magic global symbols | 12:30:13 |
piegames | It is baffling, yes | 12:30:52 |
piegames | Stuff you do when writing code in a garbage language that makes everything tedious and you just want to Get Things Done and take the path of least resistance | 12:31:41 |
piegames | And so, simply adding new builtins was easier (less boilerplate) than introducing new AST nodes | 12:32:07 |
actioninja | even with the whole "I don't want to add an infix ast node" problem I can think of saner ways of doing it, I feel like just having some magically defined operator functions with names as the operators and then shuffling to rpn would be less work and less prone to crazy edge case behavior | 12:37:35 |
actioninja | and then you get rpn for free and the lispers can write their unreadable math | 12:38:34 |
piegames | (C++ is bad, and one has to be mindful of how much it has improved since 20 years ago) | 12:40:46 |