4 ms·
Why choose between PHP and JavaScript when you can write code in CASSIS, a language that runs in the syntactical intersection of both languages? For example:
by jf 2y ago
Why choose between PHP and JavaScript when you can write code in CASSIS, a language that runs in the syntactical intersection of both languages?
For example:
if (js()) {
/* javascript */
}
else {
/* PHP */
}
https://github.com/tantek/cassis https://github.com/tantek/cassis
- stackghost 2y agoThat looks so... unholy...
- nine_k 2y agoThe Dunwich horror, but with languages.
- namanyayg 2y agohttps://tantek.com/cassis.js https://tantek.com/cassis.js I don't know what to say, just that I wish I hadn't read this code
- pyinstallwoes 2y agofunction sxg_to_num($s) is a beauty.
- selimthegrim 2y agoThe HyperTalk support is touching
- danaris 2y agoAs someone whose primary languages right now are PHP and JS... ...that looks incredibly cursed.
- ainiriand 2y agoThis is why we can't have nice things.
- toastercat 2y agoHahaha I love this comment and love that this is a thing.