ecmascript-types icon indicating copy to clipboard operation
ecmascript-types copied to clipboard

ECMAScript Optional Static Typing Proposal http://sirisian.github.io/ecmascript-types/

Results 46 ecmascript-types issues
Sort by recently updated
recently updated
newest added

WIP issue with thoughts. Currently the value types defined in the spec create logical sequential typed arrays in memory that can have views over them. If I go with the...

help wanted

WIP issue with thoughts. Currently the SIMD types are: ``` boolean8x16, boolean16x8, boolean32x4, boolean64x2, boolean8x32, boolean16x16, boolean32x8, boolean64x4 int8x16, int16x8, int32x4, int64x2, int8x32, int16x16, int32x8, int64x4 uint8x16, uint16x8, uint32x4, uint64x2,...

Investigate syntax and convert a few use cases to using types. I don't foresee any issues. I do remember thinking function overloading or something akin to template specialization from C++...

The README goes into a ton of detail on the syntax of a potential type system, but it fails to explain how the types will actually get enforced. Are these...

One issue missing with parameter decorators in general and for types is the ability to get parameters information and types. ```js class A { f(x:uint32, ...y:uint32, z?:():void):string { } }...

Static types officially in JS would be _awesome_. It would allow things like [AssemblyScript (TypeScript to WebAssembly)](https://assemblyscript.org/) to be even more possible in a standard way, and for alternatives to...

WIP. This isn't important to the proposal really. Just a place for me to jot down notes. Server contract example. ```js @contract('contract') class Contract { add(a:number, b:number):number { return a...

I've been thinking about this for a while that ECMAScript needs real threading where any function can be spawned as a thread to run asynchronously. Any data should be accessible...

I've thought about this before, but I think this is important. I've done a few multi-threading projects. I think all arrays should be accessible across threads with any special considerations....

See these proposals: https://github.com/tc39/proposal-private-methods https://github.com/tc39/proposal-static-class-features I already have public fields in the document, and there's no conflicting syntax. ```js class A { a:uint8 = 0 #b:uint8 = 0 static #c:uint8...