Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugin_macros): remove syn and use kproc-macro #91

Merged
merged 1 commit into from
Apr 30, 2023

Conversation

vincenzopalazzo
Copy link
Collaborator

This is an experimental PR to support an experimental proc macro parser https://github.com/vincenzopalazzo/kproc-macros

@vincenzopalazzo vincenzopalazzo marked this pull request as draft March 31, 2023 23:35
@vincenzopalazzo vincenzopalazzo force-pushed the macros/proc_macro branch 2 times, most recently from 769fb68 to 86f7f57 Compare April 5, 2023 11:32
@vincenzopalazzo vincenzopalazzo marked this pull request as ready for review April 29, 2023 13:56
@vincenzopalazzo vincenzopalazzo force-pushed the macros/proc_macro branch 4 times, most recently from f1abd68 to 5c6666d Compare April 30, 2023 09:02
This commit deserves a bit more attention in terms of its description.

I've never been a fan of `syn` because it's a large dependency and
too complex for my use case. Additionally, I cannot remove `proc_macro2`
if I want to. For this reason, I chose to write
`kproc-macros` (https://github.com/vincenzopalazzo/kproc-macros), which
implements a very lightweight parser for Rust procedural macros and
provides an API to extend the procedural macros API to
build your own parser.

This commit introduces a basic version of the `kproc-macros`
crate that allows me to perform debugging on it.

Signed-off-by: Vincenzo Palazzo <[email protected]>
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