Done coding init grammar; much debugging left.