News for hackers. Stuff that matters.
Re:My First Fifteen Compilers by kazinator on Friday July 12, 2019 @10:19AM (#20420916)
ROT13 in 39 nano-passes!

Week 1: A-hoisting: free occurrences of A are renamed to the symbol @ which doesn't occur anywhere in the input.

Week 2: N-substitution: every top-level as well as lexically nested N is transformed to A.

Week 3: @-lowering: every @ (denoting a previously hoisted A from pass 1) is reified as an instance of N.

There are no comments on this comment yet.