logoalt Hacker News

hyperhellotoday at 6:40 PM1 replyview on HN

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


Replies

Joker_vDtoday at 7:14 PM

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.