ass = _{ WHITESPACE? ~ (node | COMMENT)* } node = { ident ~ "{" ~ parameters} ident = { ('a'..'z' | 'A'..'Z' ) ~ ('a'..'z' | 'A'..'Z' | "_" | "-" | ":" | '0'..'9')* } parameters = _{ (!("\r" | "\n" | "}") ~ ANY)* ~ "}" } WHITESPACE = _{ (" " | "\t" | "\r" | "\n") } COMMENT = _{ ( "#" ~ (!("\r" | "\n") ~ ANY)* ~ ("\n" | "\r\n" | "\r" | EOI) ) }