implement the DR Line grammar.