Sebastian McKenzie
f74de3ef55
move destructuring and parameters.rest transformer to above blockScoping
2015-02-08 14:34:34 +11:00
Sebastian McKenzie
c0af67eca1
add support for super in object literals - fixes #411
2015-02-08 02:01:17 +11:00
Sebastian McKenzie
eb14f1da00
implement optional TDZ - fixes #563
2015-02-08 01:27:22 +11:00
Sebastian McKenzie
eb1ae70bfa
Merge pull request #701 from RReverser/master
...
Add tail recursion optimization.
2015-02-07 23:37:43 +11:00
Ingvar Stepanyan
b53b41cef3
Provide placeholders for proper function length.
2015-02-07 14:26:03 +02:00
Sebastian McKenzie
e75ce94578
move reactCompat option onto an optional transformer
2015-02-07 15:59:00 +11:00
Ingvar Stepanyan
5b2216b348
Add tail recursion optimization.
...
As per ES6, VMs should perform tail call optimization and prevent growth of call stack.
This adds tail call optimization for recursion case (when function has explicit name and calls itself in `return`).
Cross-function optimization is not currently performed as it's more complicated and requires value tracking.
2015-02-06 16:34:35 +02:00
Sebastian McKenzie
b66367ddde
change namespace of minification.propertyLiterals and minifciation.memberExpressionLiterals to es3
2015-02-06 22:42:16 +11:00
Sebastian McKenzie
39fe737cb6
rename es7.objectSpread transformer to es7.objectRestSpread
2015-02-04 18:35:43 +11:00
Sebastian McKenzie
49847e70af
add some minification transformers
2015-02-04 08:23:58 +11:00
Sebastian McKenzie
f9a26fd903
better optimisation base
2015-02-02 20:28:34 +11:00
Sebastian McKenzie
dcf91db475
add react component optimisation base #653
2015-02-02 00:50:25 +11:00
Sebastian McKenzie
8c7ba20f86
fix regenerator transformer order - fixes #617
2015-02-01 16:19:35 +11:00
Sebastian McKenzie
3b783979d8
add resolveModuleSource option - closes #471
2015-01-30 18:04:54 +11:00
Sebastian McKenzie
642e36c259
remove old es6.destructuring position comment - thanks @appden!
2015-01-29 09:04:01 +11:00
Sebastian McKenzie
e264ac03b3
put destructuring transformer back
2015-01-29 07:40:50 +11:00
Sebastian McKenzie
e50a7406ad
move destructuring transformer to before regenerator
2015-01-28 23:41:51 +11:00
Sebastian McKenzie
c49438da60
add namespaces and better structure transformation
2015-01-26 21:10:05 +11:00