JSX transpiles to human writable public API. It's a 1-to-1 conversion. Also, DSL is hard to define making it hard to say why it is or isn't!
-
-
No referential transparency in JS. If we optimized all frozen objects the same, would it be "JSX" or a JS optimization?

-
Ref transparency is a small generic language feature that should be in there but JS is missing some fundamentals - e.g. decorators. Squint.
-
Right, but that "squinting" is what makes it a language (or maybe DSL) and not a "simple 1:1 mapping"
-
Suppose I disable any compilation optimizations that favor JSX.
-
I promise I'm only interested in syntax that could be an editor "view" of AST.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.