If you're seriously looking at alternatives to HTML&CSS, then you should look at how some other platforms do it, like Visual Basic (or stuff on the .NET framework), Android and iOS
It's a good idea, but you just need to choose whether a) it belongs in stdlib (meaning any frameworks you use for gui become core dependencies) b) it belongs outside in an external framework like Electron (which means dependencies are less of a problem)
@Downgoat I could make complex lib, seems easy enough
cheddar> Math
< Instance of "Namespace" >
cheddar> Math.sin(0)
Syntax Error: Unexpected token at 1:0
1 | Math.sin(0)
| ^
cheddar> Math.sine(0)
Runtime Error: Math has no property sine