01alchemist / TurboScript

Super charged typed JavaScript dialect for parallel programming which compiles to WebAssembly
Apache License 2.0
494 stars 35 forks source link

Refine import #92

Open nidin opened 7 years ago

nidin commented 7 years ago

What? Refine import syntax for

Decouple declare native function from import.

Update

Import Cases

Notes: All declare syntax outside library source should allocate imports. import from wasm binary need a wasm binary parser.

import strategy

if library && declare ---> no import if declare ---> import