833 B
833 B
Dull
The language is dubbed "dull". Dull, because it is a less featureful ES6. Where does it differ from ES6?
- No 'with'
- No 'eval'
- No promises, async, await, generators ...
- Names can include any character
- Automatic tail call optimization
- No class syntax, at all
- No null; only undefined
- No import/export syntax; 'use' instead
- No proxies
- Strings demarked with "" or `` only; ' is reserved for symbols, akin to scheme. 'ok is shorthand for Symbol.for("ok")
Eventually, it could be JIT'd, but another trait of dull is that it is easy to integrate C code into.
Dull is based on Javascript, and has C-like syntax, because that makes it trivial to push code from it into a real C file. Numerous times I've been able to nearly copy and paste some dull code into a C file and get an immediate 50x speed improvement.