add EBNF samples of D