BIBLIO is the largest independent book marketplace in the world, with over 100 million books.

Skip to content

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

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

Writing a C Compiler: Build a Real Programming Language from Scratch
Stock photo: cover may vary

Writing a C Compiler: Build a Real Programming Language from Scratch Paperback - 2024

by Sandler, Nora

Add to wish list
  • Used
  • Paperback
Used: Good

Description

No Starch Press, 2024-08-20. paperback. Used: Good. 7.06x1.31x9.31. Buy with confidence. Excellent Customer Service & Return policy.
Ask the seller a question Add to wish list
A$79.49
A$21.72 Delivery within USA
Standard delivery: 12 to 14 days
More delivery options
Dropship order
Ships from Ergodebooks (Texas, United States)

Details

  • Title Writing a C Compiler: Build a Real Programming Language from Scratch
  • Author Sandler, Nora
  • Binding Paperback
  • Condition Used: Good
  • Pages 792
  • Volumes 1
  • Language ENG
  • Publisher No Starch Press
  • Publication date 2024-08-20
  • Illustrated Yes
  • Features Bibliography, Illustrated, Index
  • Bookseller's Inventory # SONG1718500424
  • ISBN 9781718500426 / 1718500424
  • Weight 2.79 lbs (1.27 kg)
  • Dimensions 9.27 x 7.06 x 1.41 in (23.55 x 17.93 x 3.58 cm)
  • Size 7.06x1.31x9.31
  • Category Computers - Languages / Programming
  • Library of Congress subjects C (Computer program language), Compilers (Computer programs)
  • Library of Congress Catalogue Number 2023058768
  • Dewey Decimal Code 005.133
  • Quantity available 1

About Ergodebooks Texas, United States

Biblio member since 2005

Our goal is to provide best customer service and good condition books for the lowest possible price. We are always honest about condition of book. We list book only by ISBN # and hence exact book is guaranteed.

Terms of Sale:

We have 30 day return policy.

Browse books from Ergodebooks

Reader reviews for Writing a C Compiler: Build a Real Programming Language from Scratch

From the publisher

A fun, hands-on guide to writing your own compiler for a real-world programming language.

Compilers are at the heart of everything programmers do, yet even experienced developers find them intimidating. For those eager to truly grasp how compilers work, Writing a C Compiler dispels the mystery. This book guides you through a fun and engaging project where you'll learn what it takes to compile a real-world programming language to actual assembly code.

Writing a C Compiler will take you step by step through the process of building your own compiler for a significant subset of C--no prior experience with compiler construction or assembly code needed. Once you've built a working compiler for the simplest C program, you'll add new features chapter by chapter. The algorithms in the book are all in pseudocode, so you can implement your compiler in whatever language you like. Along the way, you'll explore key concepts like:

  • Lexing and parsing: Learn how to write a lexer and recursive descent parser that transform C code into an abstract syntax tree.
  • Program analysis: Discover how to analyze a program to understand its behavior and detect errors.
  • Code generation: Learn how to translate C language constructs like arithmetic operations, function calls, and control-flow statements into x64 assembly code.
  • Optimization techniques: Improve performance with methods like constant folding, dead store elimination, and register allocation.

Compilers aren't terrifying beasts--and with help from this hands-on, accessible guide, you might even turn them into your friends for life.

About the author

Nora Sandler is a software engineer based in Seattle. She holds a BS in computer science from the University of Chicago, where she researched the implementation of parallel programming languages. More recently, she's worked on domain-specific languages at an endpoint security company. You can find her blog on pranks, compilers, and other computer science topics at https: //norasandler.com.
tracking-