You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love this as compile time modification as macros would unlock so many use cases
Assuming there is a language server extension that supports it, things like JSX could be written in normal .js and .ts files (something painfully obvious to anyone who has worked with Rust before 😆)
This pattern opens the door to other frameworks being able to use macro for their custom syntax - without the need for custom file types (jsx, vue, svelte) or specialized compilers (angular)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does something like this exist already for swc?
I would love this as compile time modification as macros would unlock so many use cases
Assuming there is a language server extension that supports it, things like JSX could be written in normal
.js
and.ts
files (something painfully obvious to anyone who has worked with Rust before 😆)This pattern opens the door to other frameworks being able to use macro for their custom syntax - without the need for custom file types (jsx, vue, svelte) or specialized compilers (angular)
Beta Was this translation helpful? Give feedback.
All reactions