Top Down Operator Precedence by Douglas Crockford
Crockford’s chapter in ‘Beautiful Code’, which implements a parser for a version of JavaScript with all the cruft dropped and a number of design errors fixed. The method used for implementing the parser is the main focus of the piece and is really, really elegant. If you’ve any interest in parsing, it’s worth a read. In fact, read it anyway.