grammar Format { token TOP { [ * [
[ | ]* ]* ]* } rule section { '[' ? ']' } rule subsection { '"' '"' } rule identifier { <[A..Za..z]> <[A..Za..z0..9_-]>+ } rule comment { <[";]> .*? $$ } rule line { '=' } rule key { } rule value { .*? $$ } } Format.parse('lol.conf'.IO.slurp)