Nidin Vinayakan
951b6f9f45
Add shared memory support to compiler ( #494 )
2019-02-21 00:22:25 +01:00
Daniel Wirtz
0c64f21250
Rework resolver ( #489 )
...
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
Daniel Wirtz
1bd1d26152
Put atomics behind a feature flag ( #470 )
2019-02-07 18:21:09 +01:00
Daniel Wirtz
2f1a6c44ce
Add SIMD prerequisites ( #469 )
2019-02-07 15:26:26 +01:00
Daniel Wirtz
f551bc78e1
Implement bulk memory operations ( #467 )
2019-02-07 11:40:23 +01:00
dcodeIO
6ed45bee98
Expose the full API for now, see #356
...
Some things might be more useful than others, but we can decide on that later.
2018-12-02 23:46:32 +01:00
dcodeIO
82da2d1f6d
Add compiler hints
2018-06-29 00:14:42 +02:00
dcodeIO
27e61f8f67
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
2018-06-27 19:03:39 +02:00
dcodeIO
188b4e48ce
Try parsing signatures only if node is callable, see #149 ; Minor refactoring
2018-06-24 01:04:24 +02:00
dcodeIO
27f0621ee9
Add support for the 'mutable-global' proposal behind a feature flag
2018-05-08 09:27:56 +02:00
dcodeIO
1bf0ca6525
Add a mechanism to enable additional (experimental) features and start with sign extension operations; Hashing experimentation
2018-05-08 00:36:19 +02:00
dcodeIO
8770f7b548
New ArrayBuffer/TypedArray; Stdlib restructure; Fix importing stdlib in stdlib; Traverse constructors; Allow initialization of readonly instance fields in constructors
2018-04-07 03:27:22 +02:00
dcodeIO
792202ac5a
Add an option to alias global objects
...
This for example allows to switch the default 'Math' implementation a program will use. Uses 'NativeMath' by default.
2018-03-26 16:54:25 +02:00
dcodeIO
ec5bb7ad51
Export function table by default and add an option to import it
2018-03-23 15:12:03 +01:00
dcodeIO
0fef69e445
Set up documentation generation
2018-03-19 01:12:18 +01:00
dcodeIO
5eb10d404f
Document the purpose of most files
2018-03-17 23:41:48 +01:00
dcodeIO
faac3c31eb
AST cleanup; Definition generators scaffolding
2018-03-17 01:37:05 +01:00
dcodeIO
02dce5a518
Add importMemory option to asc, see #36
2018-02-28 18:38:42 +01:00
dcodeIO
6b459259f9
Add memoryBase compiler option
...
This allows having fixed-size application-specific memory in front, followed by compiler-generated static memory and the heap.
2018-02-17 00:16:08 +01:00
dcodeIO
d31e484b15
Cleanup; Fix an issue with 'let' declarations reusing a local
2018-02-14 19:21:31 +01:00
dcodeIO
819d79889d
Second pass on the programmatic asc API; Make compiler tests use asc directly
2018-02-04 07:51:40 +01:00
dcodeIO
4736227879
Update binaryen to latest nightly; Source map support
2018-02-02 03:07:54 +01:00
dcodeIO
3add4624c5
Initial instance methods and field layout; More cleanup
2018-01-01 20:27:21 +01:00
dcodeIO
2ed3c22031
Cleanup: Make use of type inference and use 'var' in functions to match actual WebAssembly semantics
2017-12-28 04:09:40 +01:00
dcodeIO
5c4bf1af76
Less prose; Update i64 example; More options for asc
2017-12-25 12:08:51 +01:00
dcodeIO
4baff99125
Refactoring; Add tslint fwiw
2017-12-24 03:19:47 +01:00
dcodeIO
c6c36613e6
Accessor parsing; Cleanup
2017-12-14 11:55:35 +01:00
dcodeIO
99b0fdf7a8
Namespaces
2017-12-13 23:24:13 +01:00
dcodeIO
7a5f7dba50
Monday night decompiler shenenigans
2017-12-12 04:35:30 +01:00
dcodeIO
5ff88e126e
Support compiling multiple entry files
2017-12-09 02:52:20 +01:00
dcodeIO
bbb57baecb
changetype builtin; some namespace parsing; more stdlib ideas; compiler options for asc
2017-12-08 04:03:44 +01:00
dcodeIO
558a4d5c63
Initial asc
2017-12-04 04:14:57 +01:00
dcodeIO
df637164a6
Cleanup
2017-11-26 04:03:28 +01:00
dcodeIO
f55fc70220
Progress; Restructuring
2017-10-02 12:52:15 +02:00
dcodeIO
1d53303b47
Initial commit
2017-09-28 13:08:25 +02:00