Skip to content

Conversation

ActuallyHappening
Copy link

@ActuallyHappening ActuallyHappening commented Apr 30, 2025

I'm trying to build a replacement macro for view! called rsx! that parses the syntax of dioxus_rsx, the does some conversions into leptos_macro_core types, then outputs leptos tokens. This won't support hot reloading yet (I think?) but will be a lot more syntactically cleaner than rstml syntax.
To do this, however, the cleanest way is to expose the "internals" of the leptos macro parsing, like dioxus_rsx have. This PR adds a new crate, called leptos_macro_core, that exports the necessary functionality to implement all the leptos_macros currently, as well as the internal parsing types that allow me to do such a high level transformation

See this discussion: leptos-rs/cargo-leptos#490 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant