danchoi / herbalizer

Convert HAML to ERB
MIT License
114 stars 9 forks source link

Neste attribute notation #3

Open brandonaaron opened 11 years ago

brandonaaron commented 11 years ago

Thanks for the translator! Just had one stumbling block.

The parser fails on nested object notation.

.fb-like{ :data => { :send => false, :width => 100, :"show-faces" => false, :action => "recommend" } }

Should translate to:

  <div class="fb-like" data-send="false" data-width="100" data-show-faces="false" data-action="recommend"></div>
danchoi commented 11 years ago

Hi -- I can try, but it may be a while before I have free time. Sorry about that. If you still need this a month from now, please ping me.

brandonaaron commented 11 years ago

I already worked around it. Just wanted to log it for future reference.

danchoi commented 11 years ago

Thanks for reporting this in any case. Cheers,

On Thu, May 2, 2013 at 11:35 AM, Brandon Aaron notifications@github.comwrote:

I already worked around it. Just wanted to log it for future reference.

— Reply to this email directly or view it on GitHubhttps://github.com/danchoi/herbalizer/issues/3#issuecomment-17345274 .

listenlight commented 9 years ago

I want to say thank you for this tool, which really saved me at work today. I love Haml, and this tool allows me to keep my enhanced productivity, and convert the files back to erb for the team. How hard is Haskell to learn compared to Ruby? I might enjoy helping out on this one.

danchoi commented 9 years ago

@tidelake I'm glad to hear it's useful. Thanks for letting me know.

Haskell is certainly more difficult to learn as Ruby, but it's also proportionately more rewarding and powerful. If you want to learn Haskell and start contributing to a open source Haskell project, this is a good one for an early-stage Haskeller. You can prepare by reading Learn You a Good Haskell for Great Good up to Applicative Functors and Monads and then read the Parsec chapter of Real World Haskell. The Functional Parsers chapter of Graham Hutton's in Programming Haskell is also very helpful for this. Good luck and hope to hear again from you when you're further on your journey.

Andrew-Max commented 5 years ago

Hi -- I can try, but it may be a while before I have free time. Sorry about that. If you still need this a month from now, please ping me.

@danchoi I'd potentially be willing to pay you if you were willing to implement this.

Please reach me at andrew.max89@gmail.com if interested