2 ms·
Was the Haml use (as opposed to ERB) a technical decision, or is it based on personal preference? Product looks really nice btw.
by pelagicAustral 3y ago
Was the Haml use (as opposed to ERB) a technical decision, or is it based on personal preference? Product looks really nice btw.
- quechimba 3y agoThanks! Both! I needed something like JSX, and I found Rux [1] but I had some issues with it, and then I found syntax_tree-haml [2] which gave me an AST that I could transform into Ruby. This is what the transformation looks like: https://gist.github.com/aalin/c0e4b0360a1f84d0283149fe4b2ce64e https://gist.github.com/aalin/c0e4b0360a1f84d0283149fe4b2ce6... I have always liked Haml because it's compact and easy to read. [1] https://github.com/camertron/rux https://github.com/camertron/rux [2] https://github.com/ruby-syntax-tree/syntax_tree-haml https://github.com/ruby-syntax-tree/syntax_tree-haml
- pelagicAustral 3y agoThanks for the clarification!