Writing a C Compiler: Build a Real Programming Language from Scratch


Writing a C Compiler: Build a Real Programming Language from Scratch
by 作者: Nora Sandler (Author)
Publisher Finelybook 出版社: No Starch Press (July 23, 2024)
Language 语言: English
pages 页数: 504 pages
ISBN-10 书号: 1718500424
ISBN-13 书号: 9781718500426


Book Description
A hands-on, example-filled guide to the theory and practice of writing a C compiler: a computer program that translates code written by programmers into code the computer can read.
A comprehensive, hands-on tutorial to writing a C compiler: a computer program that translates code written by the programmer into code the computer can understand. By building a compiler, readers will gain invaluable knowledge about how programming languages work; knowledge that will make them better programmers. Readers are gently led step-by-step to build a small working compiler and will develop throughout the book. Writing a C Compiler offers readers an accessible, practical approach to this complex and often overly theoretical topic.Amazon page

C O N T E N T S

Introduction
PART I: THE BASICS
Chapter 1: Introduction to Compilers
Chapter 2: Returning an Integer
Chapter 3: Unary Operators
Chapter 4: Binary Operators
Chapter 5: Logical and Relational Operators
Chapter 6: Local Variables
Chapter 7: If Statements and Conditional Expressions
Chapter 8: Compound Statements
Chapter 9: Loops
Chapter 10: Functions
Chapter 11: Static Variables
PART II: IMPLEMENTING TYPES
Chapter 12: Long Integers
Chapter 13: Unsigned Integers
Chapter 14: Floating-Point Numbers
Chapter 15: Pointers
Chapter 16: Arrays and Pointer Arithmetic
Chapter 17: Characters and Strings
Chapter 18: Supporting Dynamic Memory Allocation
Chapter 19: Structures
PART III: OPTIMIZATIONS
Chapter 20: Optimizing TACKY Programs
Chapter 21: Register Allocation 
Conclusion: Next Steps
The chapters in red are included in this Early Access PDF.

下载地址 Download
打赏
未经允许不得转载:finelybook » Writing a C Compiler: Build a Real Programming Language from Scratch

相关推荐

  • 暂无文章

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏