Replace JS Dependencies
jimafisk opened this issue · comments
Jim Fisk commented
At a high level, we need Go equivalents for the follow JS projects:
- Acorn (https://github.com/acornjs/acorn)
- Parse JS inside
<script>
tags: https://youtu.be/mwvyKGw2CzU?t=1214 - Parse expressions at their location: https://youtu.be/mwvyKGw2CzU?t=1487
- Lifecycle update to replace node: https://youtu.be/mwvyKGw2CzU?t=2738
- Parse JS inside
- Periscopic (https://github.com/Rich-Harris/periscopic)
- Understanding scope: https://youtu.be/mwvyKGw2CzU?t=1669
- Introducing the Periscopic library: https://youtu.be/mwvyKGw2CzU?t=1758
- ESTree-Walker (https://github.com/Rich-Harris/estree-walker)
- Traverse through nodes in AST: https://youtu.be/mwvyKGw2CzU?t=1865
- ESCodeGen (https://github.com/estools/escodegen)
- Convert JS AST to a JS expression in string format: https://youtu.be/mwvyKGw2CzU?t=2769