강동윤
|
7b56b0bc74
|
Improve codegen (#57)
* travis: make it faster
* better codegen
* Move enable_comments field to config
|
2018-11-15 21:43:04 +09:00 |
|
강동윤
|
9a5de4beb6
|
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 19:40:46 +09:00 |
|
강동윤
|
eb2a2a7f15
|
Fix tests and lints (#44)
- Temporarilly ignored comment codegen tests.
- Split Simplify into SimplifyExpr and SimplifyStmt
- fix lints
|
2018-11-05 13:12:52 +09:00 |
|
강동윤
|
f9be576e02
|
Ecmascript codegen (#40)
Comment is not fully supported yet
|
2018-10-25 13:17:05 +09:00 |
|