4 ms·
I'm working on a framework inspired by React/Next.js which turns Haml into Ruby. It's 100% server side, but it runs pretty fast. I'm currently working on a rewr
by quechimba 2y ago
I'm working on a framework inspired by React/Next.js which turns Haml into Ruby. It's 100% server side, but it runs pretty fast. I'm currently working on a rewrite, I just wish I had more time to work on it.
https://github.com/mayu-live/framework https://github.com/mayu-live/framework
https://mayu.live/ https://mayu.live/
- pelagicAustral 2y agoWas the Haml use (as opposed to ERB) a technical decision, or is it based on personal preference? Product looks really nice btw.
- quechimba 2y 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 2y agoThanks for the clarification!