Ingvar Stepanyan
4c318166e1
Added complete TCO (tail call optimization).
...
Works across functions and generates simpler and faster code than #701 .
Works even across files when used in conjunction with `runtime` option.
Closes #256 .
2015-02-07 22:22:38 +02:00
Sebastian McKenzie
3a11c7d46b
as per "ES6 February 2, 2015 Draft Rev 32" "Constructors defined using class definition syntax throw when called as functions"
2015-02-03 15:16:16 +11:00
Sebastian McKenzie
2b85045b61
split up class expressions in export default
2015-01-28 12:58:05 +11:00
Sebastian McKenzie
24d4d6d73a
remove esModule flag from systemjs module formatter - fixes #599
2015-01-27 20:40:43 +11:00
Sebastian McKenzie
4b6203d1f4
simplify class default exports
2015-01-26 16:00:30 +11:00
Sebastian McKenzie
8243a34b69
change the way modules handle default exports and function declaration exports
2015-01-26 15:53:17 +11:00
Sebastian McKenzie
75460b91d8
clean up module formatters and fix interopRequireWildcard helper
2015-01-26 00:14:04 +11:00
Sebastian McKenzie
33cd9eeafd
don't hoist regenerator variable declarations in system module formatter
2015-01-23 23:46:43 +11:00
Sebastian McKenzie
2ab4a3d362
update tests to reflect new uid behaviour
2015-01-22 01:37:50 +11:00
guybedford
8023788305
add generator and variable binding tests
2015-01-21 13:58:49 +02:00
Sebastian McKenzie
0dafdd6969
better support for import collision checking - todo: check exports for collisions
2015-01-07 09:08:34 +11:00
Sebastian McKenzie
b9e4340700
better use strict handling inside of modules
2015-01-06 17:32:00 +11:00
Sebastian McKenzie
d531c8aa4c
add expressionStatement around system module wildcard exports
2015-01-06 12:17:20 +11:00
Sebastian McKenzie
9529f93690
move useStrict transformer to after _moduleFormatter
2015-01-02 01:58:56 +11:00
Sebastian McKenzie
c408432445
add support for circular references and hoist all variable declarations
2015-01-01 22:30:28 +11:00
Sebastian McKenzie
961e0b9b6b
reenable system modules tests
2014-12-31 11:51:52 +11:00
Sebastian McKenzie
918ddb4124
disable system tests temporairly
2014-12-29 11:16:47 +11:00
guybedford
295bab544b
re-exporting in setters
2014-12-28 14:43:56 +02:00
guybedford
cfe05ca10d
exported variable declarations hoist along with functions
2014-12-28 14:41:32 +02:00
guybedford
da72182219
make modules anonymous
2014-12-28 14:38:52 +02:00
Sebastian McKenzie
6df6652629
better circular references in amd/umd/system module formatter
2014-12-28 09:35:47 +11:00
Sebastian McKenzie
b63bd8cba0
remove interopRequire from system module formatter
2014-12-28 01:14:08 +11:00
Sebastian McKenzie
a4ea71b85d
Merge pull request #337 from guybedford/master
...
Correct system format base support tests
2014-12-28 01:03:35 +11:00
Sebastian McKenzie
601bbb86cd
remap UpdateExpression in module exports - closes #334
2014-12-28 01:00:53 +11:00
guybedford
5c39685650
correct system format base support tests
2014-12-27 15:59:52 +02:00
Sebastian McKenzie
4fd007948c
fix system modules exports from test
2014-12-27 21:34:20 +11:00
Sebastian McKenzie
df66fa0a7f
heavily simplify system module formatter and share common code between them all
2014-12-27 21:23:53 +11:00
Sebastian McKenzie
22851cd1ac
clean up system module formatter
2014-12-27 19:12:31 +11:00
Douglas Duteil
104b1f4c9b
feat(system-module): rewrite
2014-12-17 02:36:47 +01:00
Sebastian McKenzie
136bddab33
temporarily disable es7-modules-system tests
2014-11-25 19:02:49 +11:00
guybedford
3f60062ab6
system tests updates for live bindings and function hoisting
2014-11-24 16:05:54 +02:00
Sebastian McKenzie
e5ce69d6af
clean up register module formatter and rename it to system
2014-11-24 10:19:06 +11:00