dillon1000/react
Commit
Browse files Make CompilerEntrypoint a little more generic
These are still quite Babel specific, but the interface is slightly more generic: CompilerEntrypoint takes a non-Babel specific CompilerPass as an argument instead of passing Babel's PluginPass directly. In the future we can consider lowering the whole Program into HIR but that involves a significant lift in our representation and a small amount of new syntax to support (eg import statements), so this PR is the extent of this stack for now
Changed paths2 files
First-parent comparisoncompiler/forget/src/Babel/BabelPlugin.ts ModifiedM compiler/forget/src/CompilerEntrypoint.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…