Description

17 SUPPORTING DYNAMIC MEMORY ALLOCATION

Over the course of Part II, you’ve compiled programs that call an increasingly wide range of standard library functions. At the end of Part I, your compiler supported only functions with parameters and return values of type int, like putchar. Now you can compile programs that call floating-point math functions like fmax and string processing functions like puts. In this chapter, you’ll implement the remaining features you need to call a particularly important part of the standard library: ...

Get Writing a C Compiler now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.