Remix.run Logo
hyperhello 2 hours ago

Variables were pointers and you could dereference with a dot. Another step towards writing what you mean.

Joker_vD 2 hours ago | parent [-]

Neatly removes the lhs/rhs distinction in the compiler, although in practice tracking during the translation whether evaluating e.g. "a[i]" needs to end with DEREF or not ain't that onerous.

But "The Design of an Optimizing Compiler" by Wulf et al. is an interesting read nonetheless; especially if you wonder how people did register allocation before Chaitin's seminal paper.