pietervdvn / Lang

Yet another programming language
1 stars 1 forks source link

Parser: clauses might contain a nltab #53

Closed pietervdvn closed 8 years ago

pietervdvn commented 9 years ago

Functions.bnf: in clause ::= patterns "=" expr ... should become

clause ::= patterns nltab "=" expr .... If this nlTab contains a comment, then should the parser add this into the expression on the right side, in a ExpNl. (Thus the expression parsed on the right -> Seq [ExpNL comment, expr])