Hacker News new | ask | show | jobs
by rui314 3849 days ago
This self-referencing naturally occurs if you are writing a self-hosting compiler. I have read the Ken's paper, but when I was writing my C compiler in C (https://github.com/rui314/8cc/blob/master/lex.c#L306), I was not aware that this was what Ken wrote in the paper. It was funny to notice that long after I wrote the code.