Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit244a40f

Browse files
committed
Update README.md
1 parent4e9701c commit244a40f

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

‎README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
#babel-plugin-asm-js
22

3-
Compile JavaScript + Flow into asm.js
3+
Compiles statically typed ES6 (Flow-flavoured) module into asm.js while preserving ES6 module interface. Still a subset of JavaScript, but much more suitable for hand-writing (so that you don't need to use C/C++ -> Emscripten -> asm.js for maths)
4+
5+
Work in progress.
6+
7+
##Currently supported:
8+
9+
* ES6`import` and named`export`
10+
* automatic`var`,`let`,`const` extraction and conversion
11+
* automatic function layout
12+
* function parameter annotations
13+
* function return type annotation
14+
* assignment with automatic type conversion
15+
* Flow type cast into asm.js type cast
16+
* automatic asm.js imports for stdlib and foreign references
17+
* automatic program layout
18+
* automatic wrapping into asm.js module with`initialize` for passing own`heap`
19+
20+
##TODO:
21+
22+
* bug fixing
23+
* global variable support
24+
* string support (literals are already converted to IDs, need to support operations)
25+
* better asm.js<->normal code communication
26+
* limited object and array support
427

528
##Installation
629

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp