Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-05 | Solve Exercise 6-6: A simple `#define` processor | zlg | 1 | -2/+1 | |
This exercise is probably the most challenging "function puzzle" thus far. Modifying getword(), using various states, and the hashtable all create an example of how small building blocks can work together to make something. The implementation is very simple and nowhere near completely supporting '#define', but that's not the point. To properly support it, you'd need to build an entire preprocessor/parser, and that's far beyond the scope of both the exercise and book. | |||||
2015-11-20 | Solve Exercise 6-5: undef() | zlg | 1 | -0/+107 | |
We're getting close to more useful data structures! Wee! |