编译原理与实践
内容简介:
This exciting new book combines a detailed study of modern theories of compiler design with a complete description (with source code)of a working compiler for a small language.The book reflects the author's conviction that practical aspects of compiler design cannot be understood without a grasp of theory,and that theory cannot be truly comprehended by undergraduate students without seeing it put into actual practice.Unifying the text's discussion of concepts is a complete working compiler written in C and developed using the techniques discussed in each chapter. Extensive exercise sets at the end of each chapter focus student's attention on specific programming problems.
目录:
1 INTRODUCITON 2 SCANNING 3 CONTEXT-FREE GRAMMARS AND PARSING 4 TOP-DOWN PARSING 5 BOTTOM-UP PARSING 6 SEMANTIC ANALYSIS 7 4UNTIME ENVIRONMENTS 8 CODE GENERATION APPENDIX A:A COMPILER PROJECT APPENDIX B:TINY COMPILER LISTING APPENDIX C:TINY MACHINE SIMULATOR LISTING BIBLIOGRAPHY INDEX
评论