Learning how programming languages work

后端 未结 10 581
既然无缘
既然无缘 2021-01-31 05:33

I\'ve been programming for years (mainly Python), but I don\'t understand what happens behind the scenes when I compile or execute my code.

In the vein of a question I a

10条回答
  •  悲&欢浪女
    2021-01-31 06:26

    If you want to know how one goes from source code to something that actually runs on a target machine, you should get a copy of the famous Red Dragon Book. I've used it for building parsers and lexical analyzers. While it dates back to 1986, and I'm sure there's been progress in the interim, as far as I can tell, it hasn't been surpassed as a text.

    It appears that Addison-Wesley has done a reprint of its predecessor, the Green Dragon Book, and is passing it off as something recent, so be careful to get the genuine article.

提交回复
热议问题