urlang icon indicating copy to clipboard operation
urlang copied to clipboard

Urlang is JavaScript with a sane syntax

Results 5 urlang issues
Sort by recently updated
recently updated
newest added

Originally Urlang targeted ES5. Now we can target ES6, so Urlang needs to support ES6 (esm) modules. And (cross fingers) then we can use Skypack for easy import of modules...

This works ``` (define (array-intersection ars) ; copy first array (var [result ((dot (ref ars 0) slice))]) ; intersect the remaining arrays with the result array (for ([a in-array ars]...

The spread operator `...` can be used like this: {...styles, color: "red"} In Urlang, allow a spread operator at the beginning of an object literal.

Even though ~ can be used in an identifier (check this) it can't be used as the first character. https://stackoverflow.com/questions/1661197/what-characters-are-valid-for-javascript-variable-names Thus `mangle` needs to handle the first character specially.