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-20 04:01:39 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
90135ede1e
swc
/
ecmascript
/
codegen
/
tests
/
references
/
9681f5d844d7acd0.js
11 lines
103 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix tests and lints (#44) - Temporarilly ignored comment codegen tests. - Split Simplify into SimplifyExpr and SimplifyStmt - fix lints
2018-11-05 07:12:52 +03:00
(
a
)
=>
b
;
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
(
a
,
b
)
=>
c
;
(
)
=>
b
;
(
a
)
=>
(
b
)
=>
c
;
(
a
)
=>
(
(
b
)
=>
c
)
;
(
)
=>
(
b
,
c
)
=>
d
;
(
a
)
=>
{
return
b
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
}
;
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
(
a
)
=>
'e'
;
Reference in New Issue
Copy Permalink