command ::= birth
::= death
::= ancestors
::= descendants
::= QUIT
birth ::= BIRTH child: date: mother: father
death ::= DEATH person: date
ancestors ::= ANCESTORS person
descendants ::= DESCENDANTS person
child ::= name
mother ::= name
father ::= name
person ::= name
date ::= name
name ::= [any sequence of characters not beginning or ending with a space or containing a colon]
BIRTH John Doe : January 7, 1599 : Jane Doe : Adam Doe
BIRTH Mary Worth : May 18, 1666 : Jane Doe : Adam Doe
BIRTH Casper Ghost : Jan 2, 1959 : Mary Worth : John Doe
DEATH Mary Worth : Jan 3, 1959
ANCESTORS Casper Ghost
DESCENDANTS John Doe
QUIT
<font face="Times New Roman" size=3><pre>ANCESTORS of Casper Ghost
John Doe January 7, 1599 -
Adam Doe
Jane Doe
Mary Worth May 18, 1666 - Jan 3, 1959
Adam Doe
Jane Doe
DESCENDANTS of John Doe
Casper Ghost Jan 2, 1959 -
</pre></font></p>