Sandler, Nora

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

(No reviews yet) Write a Review
ISBN 13:
9781718500426
author:
Sandler, Nora
format:
Paperback
publisher:
No Starch Press
language:
English
Publication Year:
2024
Pages:
792
Dimensions:
23.6 x 17.9 x 3.6 centimetres (0
Genre:
Computers, Programming, C,
Condition:
New
Availability:
Item usually sent within 15 working days
£41.86

Description

Writing a C Compiler: A Hands-On Guide to Building Your Own Compiler for a Real Programming Language. Learn how to build your own compiler from scratch and gain a deep understanding of how compilers work. This comprehensive guide takes you step by step through the process of creating a working compiler for a significant subset of the C programming language. With no prior experience with compiler construction or assembly code required, you'll be able to implement your own compiler using pseudocode algorithms. As you build your compiler, you'll explore key concepts such as lexing and parsing, program analysis, code generation, and optimization techniques. You'll learn how to write a lexer and recursive descent parser that transform C code into an abstract syntax tree, and how to translate C language constructs into x64 assembly code. By the end of this project-based guide, you'll have a working compiler that can compile real-world C programs. This book is ideal for anyone looking to gain a deeper understanding of compilers and programming languages. With its hands-on approach and accessible explanations, it's an excellent resource for developers, programmers, and computer science students alike.

View AllClose