Information retrieval language grammar