Capstone projects
This part of the C course is three programs built from the ground up: a word-frequency counter with a report, a calculator with a lexer, a parser and an evaluator, and a threaded HTTP server. Each capstone reuses the lessons before it and adds what a real program has: a file format, a command line, tests and a shutdown.
76
Capstone: word frequency
read a file, split words, count them in a hash table
Open
77
Capstone: word frequency report
sort the counts, format a report, test it
Open
78
Capstone: a calculator parser
lexer, recursive descent, AST
Open
79
Capstone: a calculator evaluator
evaluate the AST, variables, errors
Open
80
Capstone: a threaded HTTP server
sockets plus threads, request parsing, shutdown
Open