18 STRUCTURES
In this chapter, you’ll add one final language feature: structures. You’ll also implement the . and -> operators to access structure members. In a fitting end to Part II, you’ll draw on many of the skills, concepts, and techniques you learned in earlier chapters. In the identifier resolution stage, you’ll resolve structure tags along with function and variable identifiers. In the type checker, you’ll record structure definitions in a type table, much like you already record function and variable declarations in ...
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.