Sorry I don’t have a BNF. The best I have is the parser code link from here:
And in particular the parsing process for TaskPaper formatted text starts with deserializeItems here:
deserializeItems