4 ms·
Long ago, before jsx and react, before hack, Facebook had a fork of php called xhp, which allowed xml data within php. I'm not suggesting anybody should mainta
by ksherlock 3y ago
Long ago, before jsx and react, before hack, Facebook had a fork of php called xhp, which allowed xml data within php. I'm not suggesting anybody should maintain a fork of python with xml support but a pre-processor could parse xython and generate standard python with trees of html.xx() calls.
https://en.wikipedia.org/wiki/XHP https://en.wikipedia.org/wiki/XHP
- tedkalaw 3y agoxhp was honestly pretty nice - it was something watching the rapid codemods transform the language. There was also ComponentKit, which was used heavily in fbobjc: https://github.com/facebook/componentkit https://github.com/facebook/componentkit
- 4ndrewl 3y agoAnd long before transpiling became cool, FB had https://en.m.wikipedia.org/wiki/HipHop_for_PHP https://en.m.wikipedia.org/wiki/HipHop_for_PHP
- massover 3y agoCheck this project: https://github.com/gvanrossum/pyxl3 https://github.com/gvanrossum/pyxl3