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 [Paperback] Sandler, Nora

Writing a C Compiler: Build a Real Programming Language from Scratch [Paperback] Sandler, Nora

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

Writing a C Compiler: Build a Real Programming Language from Scratch [Paperback] Sandler, Nora Paperback - 2024

by Ingram

Add to wish list
  • New
New

Description

New. BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!
Ask the seller a question Add to wish list
A$69.24
A$5.78 Delivery within USA
Standard delivery: 5 to 11 days
More delivery options
Ships from Ambis Enterprises LLC (Michigan, United States)

Details

  • Title Writing a C Compiler: Build a Real Programming Language from Scratch [Paperback] Sandler, Nora
  • Author Ingram
  • Binding Paperback
  • Condition New
  • Pages 792
  • Volumes 1
  • Language ENG
  • Publisher No Starch Press
  • Publication date 2024-08-20
  • Illustrated Yes
  • Features Bibliography, Illustrated, Index
  • Bookseller's Inventory # OTF-S-9781718500426
  • 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)
  • 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 7

About Ambis Enterprises LLC Michigan, United States

Specialising in: New Books, Used Books
Biblio member since 2009

We love books, and love our customers. We underrate our book conditions to ensure you're happy, and handpack our shipments with pride!

Terms of Sale:

30 day return guarantee, with full refund including shipping costs for up to 30 days after delivery if an item arrives damaged. Please Contand us at Admin@lakesidebooks.com

Browse books from Ambis Enterprises LLC

Reader reviews for Writing a C Compiler: Build a Real Programming Language from Scratch [Paperback] Sandler, Nora

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-