This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-24 06:05:02 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
30af06bb70
swc
/
ecmascript
/
codegen
/
tests
/
references
/
d58831cddf9cbd99.js
10 lines
90 B
JavaScript
Raw
Normal View
History
Unescape
Escape
More transcompilers (#49) transforms: - implement String.length simplifier - implement more arithmetic operations - new Date() is side-effect free - implement left.rhs * right - optimize `SeqExpr` while creation - implement es3 - member expression literals pass - implement es2015 - classes pass codegen: - handle infinity correctly - disable comments for testing (it's buggy) ast: - add methods about reserved words
2018-11-14 13:40:46 +03:00
function
a
(
)
{
b
(
)
;
c
(
)
;
d
=
1
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
return
;
More transcompilers (#49) transforms: - implement String.length simplifier - implement more arithmetic operations - new Date() is side-effect free - implement left.rhs * right - optimize `SeqExpr` while creation - implement es3 - member expression literals pass - implement es2015 - classes pass codegen: - handle infinity correctly - disable comments for testing (it's buggy) ast: - add methods about reserved words
2018-11-14 13:40:46 +03:00
if
(
d
)
{
e
(
)
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
}
}
Reference in New Issue
Copy Permalink