WebAssembly / wasi-nn

Neural Network proposal for WASI
448 stars 35 forks source link

Update *.witx files for the witx 0.9 syntax #13

Closed alexcrichton closed 3 years ago

alexcrichton commented 3 years ago

This is a preparatory PR to follow-up from https://github.com/WebAssembly/WASI/pull/395

This commit merges the current WASI main branch into this repository and then adds a commit on top which updates the *.witx files to follow the new conventions, notably around type names and result types.

alexcrichton commented 3 years ago

It's also worth noting that this probably shouldn't get merged until https://github.com/WebAssembly/WASI/pull/395 is merged, at which point in time I'll rebase.

alexcrichton commented 3 years ago

Ok should be good for merging now. The changes specific to this proposal are in https://github.com/WebAssembly/wasi-nn/pull/13/commits/2706bceef3bbac17043649932e1b8761eb69f3c3

alexcrichton commented 3 years ago

Ah I'm just lifting the syntax from https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/Explainer.md#interface-types