∑ XahLee is a user on noagendasocial.com. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
∑ XahLee @xahlee

i wonder if it is worthwhile, to create a new lang on top of , by writing a set of function wrappers that cover every (good) parts of js. And you code js using this wrapper layer.

you get minimal speed penalty, and is still pure js.

· Web · 0 · 0

@xahlee if you keep the syntax the same, that's a library, not a language.

Or do you mean some kind of C macro processor for JS?

@progo was thinking rewriting everything in js with a functional wrapper. So, almost everything will just have the function form f().

and no for loop, no statement, no dot notation perhaps (have fcompose() instead), and if() now returns a value, etc.