nurugger07 / calliope

An elixir haml parser
Apache License 2.0
198 stars 37 forks source link

Slightly improves HAML attribute parsing #82

Open Qqwy opened 7 years ago

Qqwy commented 7 years ago

This ensures that the attribute parsing goes a little nicer, and at least does not break on the access operator . anymore.

Note that nested maps are not possible by this PR, because for this, an overhaul of the way Calliope parses attributes (Calliope.Parser.build_attributes) is necessary that uses LR or LL parsing instead of string replacements.