BNFC (haskell) accepts totally empty input files, but not
It should also allow empty declarations consisting just of a ;.
This would allow a style like
-- comment
; Rule. S ::= P
-- comment
; Rule2. S ::= Q
where semicolons are aligned at the first column.
BNFC (haskell) accepts totally empty input files, but not
It should also allow empty declarations consisting just of a
;.This would allow a style like
where semicolons are aligned at the first column.