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

Remove syn dependency #8

Merged
merged 7 commits into from
Sep 8, 2020
Merged

Remove syn dependency #8

merged 7 commits into from
Sep 8, 2020

Commits on Sep 5, 2020

  1. Configuration menu
    Copy the full SHA
    b716674 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f50459 View commit details
    Browse the repository at this point in the history
  3. Rewrite a large part of the library in order to remove syn

    - The large `macros/lib.rs` was split into multiple smaller files
    - To avoid relying on parsing `syn::Expr`, there are declarative macros
      in `bunt` which slightly process the macro input and delegate it to
      the proc macros. In particular, all expressions are wrapped into
      groups, making it easy to skip in the proc macro parser.
    - There are not `print[ln]` proc macros anymore as these convenience
      macros can easily be implemented as decl macros in `bunt`.
    
    Despite this huge diff, lots of code stayed the same and was just
    moved somewhere.
    LukasKalbertodt committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    43f44ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdab869 View commit details
    Browse the repository at this point in the history
  5. Actually remove syn dependency

    This is only possible thanks to the refactor work in the previous
    commits.
    LukasKalbertodt committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    e695b1b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a2d001 View commit details
    Browse the repository at this point in the history
  7. Update CHANGELOG.md

    LukasKalbertodt committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    2cf7f65 View commit details
    Browse the repository at this point in the history