<feed xmlns='http://www.w3.org/2005/Atom'>
<title>knr/ch6, branch master</title>
<subtitle>Category-0 solutions to The C Programming Language, 2nd Edition</subtitle>
<id>https://git.zlg.space/knr/atom/ch6?h=master</id>
<link rel='self' href='https://git.zlg.space/knr/atom/ch6?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/'/>
<updated>2016-06-16T17:15:33Z</updated>
<entry>
<title>The massive astyle sweep!</title>
<updated>2016-06-16T17:15:33Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2016-06-16T17:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7'/>
<id>urn:sha1:f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7</id>
<content type='text'>
Code style should be consistent now. All future commits will be run through
astyle or they will be amended.
</content>
</entry>
<entry>
<title>Solve Exercise 6-6: A simple `#define` processor</title>
<updated>2015-12-06T05:46:57Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-12-06T05:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=45b8159cc39792ddc4e989b11036f026d49f33e7'/>
<id>urn:sha1:45b8159cc39792ddc4e989b11036f026d49f33e7</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Solve Exercise 6-5: undef()</title>
<updated>2015-11-21T07:28:24Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-11-21T07:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=fa70b1c7303cce993ed6a1785b72bf11b21cc6b6'/>
<id>urn:sha1:fa70b1c7303cce993ed6a1785b72bf11b21cc6b6</id>
<content type='text'>
We're getting close to more useful data structures! Wee!
</content>
</entry>
<entry>
<title>Solve Exercise 6-4: Highest Word Frequency</title>
<updated>2015-11-07T10:41:42Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-11-07T10:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=87761a45eb70cd22cf0b64fdcc0545006e92a8f9'/>
<id>urn:sha1:87761a45eb70cd22cf0b64fdcc0545006e92a8f9</id>
<content type='text'>
This exercise was good practice to get back into the mindset of
programming. It's not a pretty solution, but it works. I may end
up coming back to this solution, because I feel like I've missed
something that would make this exercise simpler.
</content>
</entry>
<entry>
<title>Solve Exercise 6-03: Word cross-referencing</title>
<updated>2015-08-04T08:20:56Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-08-04T08:20:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=beac4bc8129869d82a6bc49957464c88e50ccfb9'/>
<id>urn:sha1:beac4bc8129869d82a6bc49957464c88e50ccfb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Solve Exercise 6-02: Common prefix printing</title>
<updated>2015-03-08T08:11:13Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-03-08T08:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=ad37fa6675c799d8c1280c4845643da5adf0db8e'/>
<id>urn:sha1:ad37fa6675c799d8c1280c4845643da5adf0db8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Solve Exercise 6-01: Enhanced `getword`</title>
<updated>2015-03-03T11:35:37Z</updated>
<author>
<name>zlg</name>
<email>zlg@zlg.space</email>
</author>
<published>2015-03-03T11:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zlg.space/knr/commit/?id=e458edffa1e1cb3a7aa2c695e833e717bbd4efe4'/>
<id>urn:sha1:e458edffa1e1cb3a7aa2c695e833e717bbd4efe4</id>
<content type='text'>
This exercise improved my understanding of identifying comments and
quotes by focusing on edge cases.
</content>
</entry>
</feed>
