This paper presents a design and an implementation of a unification grammar for Chinese. Furthermore the Chinese grammar is designed as a reversible grammar which serves both parsing and generation. The Chinese grammar is developed under the system of Trace & Unification Grammar that compiles the grammar into an efficient parser and an efficient generator. The implementation shows that a set of Chinese grammar rules used for parsing and generation can be stated elegantly by the unification. Some examples illustrate how to formulate Chinese sentences by reversible grammar rules. |