Hacker News new | past | comments | ask | show | jobs | submit login

These abstract metalanguages are still somewhat limited by the underlying base of HTML and CSS. Some things simply can't be accomplished with CSS, no matter how many SASS macros you write (e.g. reparent an element), or you'll just end up with lot of code to do tasks which would be simple with HSS.

I believe that point of AXR is to replace this underlying base, with something more suitable for web applications. You could still use a metalanguage on top of it (maybe with some tweaking) - you can write XML using HAML anyway.




What do you mean by reparenting an element if not the nesting example given on the SASS homepage?


In presentation - http://www.slideshare.net/veosotano/axr-presentation-betabee... - slides 12 and 13, including new elements creation (http://axr.vg/spec/chapter/55). Didn't find anything on parent property in spec, though. Nesting is also planned (slide 15)


Sorry about that. It's not fully fleshed out yet. Are you interested in helping us figure out how to make the reparenting syntax as nice as possible? If so, I think the mailing list would be the best place for that... :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: