herbalizer icon indicating copy to clipboard operation
herbalizer copied to clipboard

Neste attribute notation

Open brandonaaron opened this issue 12 years ago • 6 comments

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>

brandonaaron avatar May 02 '13 14:05 brandonaaron

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 avatar May 02 '13 15:05 danchoi

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

brandonaaron avatar May 02 '13 15:05 brandonaaron

Thanks for reporting this in any case. Cheers,

On Thu, May 2, 2013 at 11:35 AM, Brandon Aaron [email protected]:

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 .

danchoi avatar May 02 '13 15:05 danchoi

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.

listenlight avatar Aug 21 '15 20:08 listenlight

@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.

danchoi avatar Aug 21 '15 21:08 danchoi

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 [email protected] if interested

Andrew-Max avatar Jul 24 '19 16:07 Andrew-Max