Can someone provide a short code example of compiler bootstrapping?
        Posted  
        
            by 
                Jatin
            
        on Programmers
        
        See other posts from Programmers
        
            or by Jatin
        
        
        
        Published on 2012-11-28T06:24:10Z
        Indexed on 
            2012/11/28
            23:14 UTC
        
        
        Read the original article
        Hit count: 380
        
compiler
This Turing award lecture by Ken Thompson on topic "Reflections on Trusting Trust" gives good insight about how C compiler was made in C itself.
Though I understand the crux, it still hasn't sunk in. So ultimately, once the compiler is written to do lexical analysis, parse trees, syntax analysis, byte code generation etc, a separate machine code is again written to do all that on compiler?
Can anyone please explain with a small example of the procedure? Bootstrapping on wiki gives good insights, but only a rough view on it.
PS: I am aware of the duplicates on the site, but found them to be an overview which I am already aware
© Programmers or respective owner