Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting you say that. I'm fleshing out a design that uses a similar syntax - In python:

(html, (body, (h1, "header one text") ) )

To me it's certainly not as painful as writing out html. I'm still working on it - hope to have a demo soon but its not a high priority, more something to sketch in the notebook when bored.

I have wondered if anyone would be interested in a templating syntax like this and got some response from the python mailing list -enough response to determine it's worth pursuing.

Its for personal projects so the designer seperation isn't a concern - I perfer to be able to generate it by code.



I think this sorta thing is more data-structure-ey than code-ey.




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

Search: