3 ms·
Thanks! 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
by quechimba 2y ago
Thanks!
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 2y agoThanks for the clarification!