making BNF grammar presentable instead of just for personal use