Grammar tweaks. EOF acts like a newline.

Added 'zed' example: an arbitrary-precision calculator.