samuel_x_winters_x / hotmail.com ha scritto:

<snipall>
What's wrong with:

Grammar.new %{
  foo: bau
  bar: miao-102
}

the %{} literal gives you a string, and you can parse it with the full 
power of regexp/racc/cocorb/whatever in Grammar#initialize.