| ▲ | lassejansen 18 hours ago | |||||||||||||||||||
Exactly, code is data ;) | ||||||||||||||||||||
| ▲ | publicdebates 18 hours ago | parent [-] | |||||||||||||||||||
Not sure how homoiconicity is related to this at all. Macros don't seem involved. But I do think s-expressions are an improvement over HTML in certain scenarios. That said (talking to OP now), why is the control handler outside the button? In actual HTML, we have [button onclick="codeToBeEvaled()"] In this thing, you have [button][onclick [sub-expressions]] With s-expressions, at least you have some semblance of function calls, which would make control flow operators seem slightly more natural, but this hybrid of semantic and syntactic choice just seems bizarrely limited. | ||||||||||||||||||||
| ||||||||||||||||||||