Complete parser and generator