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

Update from upstream #6

Open
wants to merge 93 commits into
base: master
Choose a base branch
from
Open

Update from upstream #6

wants to merge 93 commits into from

Commits on Jul 11, 2021

  1. Begin revamp for proc-macros

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    63b4163 View commit details
    Browse the repository at this point in the history
  2. Move some files around

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    7962cd2 View commit details
    Browse the repository at this point in the history
  3. Fix links

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    c922ca3 View commit details
    Browse the repository at this point in the history
  4. General hygiene chapter

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    aa56ed1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3424283 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f9e46e7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9f988bf View commit details
    Browse the repository at this point in the history
  8. Update README

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    fac0a25 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    460b634 View commit details
    Browse the repository at this point in the history
  10. Add very sparse glossary base

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    0cf145c View commit details
    Browse the repository at this point in the history
  11. Minor fixes

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    4c4145b View commit details
    Browse the repository at this point in the history
  12. Make linkcheck optional

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    6426fb8 View commit details
    Browse the repository at this point in the history
  13. Fix workflow publish_dir

    Veykril committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    415561b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Configuration menu
    Copy the full SHA
    717e1f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3469e21 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. Fixes possible typo

    YohannesKifle authored and Veykril committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    9b3766a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Configuration menu
    Copy the full SHA
    a6fdd6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a55add1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ba80d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    c3245a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Hygenic enum counting

    We can capture the first identifier with a separate metavariable, and then put it at the end of the enum.
    mbknust authored and Veykril committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    55fb604 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Fixed handling of trailing commas in matcher.
    
    Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
    mbknust and Veykril committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    53d973e View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Configuration menu
    Copy the full SHA
    a7bd402 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. proc-macros first chapter

    Veykril committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    47532ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25f26a9 View commit details
    Browse the repository at this point in the history
  3. Restructure

    Veykril committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    983ee40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdb8ffe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e19eb0c View commit details
    Browse the repository at this point in the history
  6. proc-macro hygiene

    Veykril committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    3d3acbd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f0c10d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    318898e View commit details
    Browse the repository at this point in the history
  9. Fix hyigene link

    Veykril committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    82338ba View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2021

  1. Add const generics based counting method

    It's slower than bit twiddling, but roughly just as fast as slice length
    method, usable in const contexts, non-recursive and quite simple to
    read.
    GoldsteinE authored and Veykril committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    e1baa14 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Removed unnecessary word.

    OLUWAMUYIWA authored and Veykril committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    b1c37fc View commit details
    Browse the repository at this point in the history
  2. fix typo

    Jackson G. Kaindume authored and Veykril committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    9658cea View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Configuration menu
    Copy the full SHA
    ebf299e View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Configuration menu
    Copy the full SHA
    2d1801f View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Fixed typo

    douweschulte authored and Veykril committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    6d0f8ec View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Update derive.md

    bestgopher authored and Veykril committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    2b3a128 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Configuration menu
    Copy the full SHA
    ff4188b View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. Configuration menu
    Copy the full SHA
    45ca843 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4eaec0a View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Fix typo

    nmlt authored and Veykril committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    de5ca7a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Configuration menu
    Copy the full SHA
    edf372e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. Add github sponsor button

    Veykril committed Mar 12, 2022
    Configuration menu
    Copy the full SHA
    227603a View commit details
    Browse the repository at this point in the history
  2. Note that the accumulator part of push down accumulators should prefe…

    …r the end of the rule
    Veykril committed Mar 12, 2022
    Configuration menu
    Copy the full SHA
    7bc2778 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Fix errors relating to -Zunpretty=expanded.

    - It's called `-Zunpretty`, not `-Zpretty`.
    - It requires a nightly compiler.
    - `-Zunstable-options` is not required.
    nnethercote authored and Veykril committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    3953024 View commit details
    Browse the repository at this point in the history
  2. Update github runner OS

    Veykril committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    e0c02fa View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Minor English nitpicks.

    nnethercote authored and Veykril committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    be78f40 View commit details
    Browse the repository at this point in the history
  2. Remove incorrect sentence.

    It contradicts the previous sentence.
    nnethercote authored and Veykril committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    42076c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d4fe82 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Add some performance advice.

    About TT munchers, internal rules, and push-down accumulators.
    nnethercote authored and Veykril committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    d112f17 View commit details
    Browse the repository at this point in the history
  2. Clarify the push-down accumulator example.

    - Use brackets instead of parens in the push-down accumulator.
    - Don't use internal rules, especially given that it's now recommended
      against doing so for performance reasons.
    - Remove the `@as_expr` rule, it's not necessary. The final output can
      be produced directly from the `0` accumulator rule.
    - Reorder the rules so they are in the easiest-to-follow order.
    - Generally reformat to improve readability.
    
    I found this example hard to read when I first encountered it. I think
    these changes make it much easier to understand.
    nnethercote authored and Veykril committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    2f13d95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96514b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2022

  1. Configuration menu
    Copy the full SHA
    ce81d52 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. Configuration menu
    Copy the full SHA
    0f94b03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00fe9fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ff8752 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2022

  1. Change recursion limit number to 128

    close #63
    zjp-CN authored and Veykril committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    7f27999 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7ef4fa View commit details
    Browse the repository at this point in the history
  3. Update the default edition for code blocks to 2021

    This is important because the example on
    https://veykril.github.io/tlborm/decl-macros/minutiae/fragment-specifiers.html#pat
    is failed due to or-patterns only allowed since 2021 edition.
    zjp-CN authored and Veykril committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    4ee483e View commit details
    Browse the repository at this point in the history
  4. Remove the needless whitespace

    Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
    zjp-CN and Veykril committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    7d7f727 View commit details
    Browse the repository at this point in the history
  5. Fix a typo

    Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
    zjp-CN and Veykril committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    5c5332d View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Add missing backtick

    nihaals authored and Veykril committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    4664803 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Configuration menu
    Copy the full SHA
    244cd8e View commit details
    Browse the repository at this point in the history
  2. Fix broken links and Add a hack example before $$ occurs

    The hack example comes from rust-lang/rust#95860.
    zjp-CN authored and Veykril committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    b077c4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b7b1db View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    d102afb View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. fix grammar around 'consist'

    hkBst authored and Veykril committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    bfa419d View commit details
    Browse the repository at this point in the history
  2. expand 'mbe'

    hkBst authored and Veykril committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    0897de1 View commit details
    Browse the repository at this point in the history
  3. add missing 'as'

    hkBst authored and Veykril committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    b2aa1db View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. fix typos

    Heinenen authored and Veykril committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    5d9ab7a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    8557f4d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Change ..., n-1, n-2 to ..., n-2, n-1

    Better reflects natural ordering of numbers
    compiler-errors authored and Veykril committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    dc2ab49 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. n-2 comes before n-1

    amab8901 authored and Veykril committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    0c25dff View commit details
    Browse the repository at this point in the history
  2. simplify the code

    amab8901 authored and Veykril committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    ae96cb6 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2022

  1. Configuration menu
    Copy the full SHA
    ff7d20f View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. fix a typo

    OccupyMars2025 authored and Veykril committed May 8, 2023
    Configuration menu
    Copy the full SHA
    2b247ec View commit details
    Browse the repository at this point in the history

Commits on May 14, 2023

  1. fix typo

    jwpjrdev authored and Veykril committed May 14, 2023
    Configuration menu
    Copy the full SHA
    0bb9ed0 View commit details
    Browse the repository at this point in the history
  2. Fix typos

    EduMenges authored and Veykril committed May 14, 2023
    Configuration menu
    Copy the full SHA
    4323e63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b31bb99 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Fix C snippet

    meni-adin authored and Veykril committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    a96b9c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    7716ac0 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    99a3c3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acd3623 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Added extra 'changed' annotation in macros-practical since when readi…

    …ng it I missed this change due to the annotation not being there
    David-Aguilo authored and Veykril committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    6ef830c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Fix tests in parsing.md.

    For code hidden with `#` there must be a space after the `#`.
    nnethercote authored and Veykril committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9d6fa65 View commit details
    Browse the repository at this point in the history
  2. Explain how to parse methods.

    I had to do this myself recently and when I looked in this chapter it
    was "WIP" so I had to work it out myself. Might as well record it for
    the benefit of others.
    nnethercote authored and Veykril committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9abe6dd View commit details
    Browse the repository at this point in the history
  3. Fix test failures.

    `mdbook test` reports lots of errors. This commit fixes them, in various
    ways.
    - Add space after `#` on hidden lines.
    - Add `compile_fail` to all examples that are intended to not compile.
    - Add `text` to non-code blocks.
    - Add `ignore` to examples using `#![feature(...)]`, which requires nightly.
      Unfortunate, but I can't see a better way to handle these.
    - Add `edition2021` where necessary.
    - Add necessary hidden code.
    nnethercote authored and Veykril committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    764adb3 View commit details
    Browse the repository at this point in the history
  4. Improve GitHub actions.

    `mdbook test` isn't run on CI! It should be.
    
    Plus some other CI improvements, based on the equivalent file at
    `github.com/nnethercote/perf-book/`:
    - Run actions on pull requests, to allow tests to run before merging.
    - Add some missing names for steps.
    - Update `actions/checkout` from v2 to v3.
    nnethercote authored and Veykril committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    14eb2d7 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    768bafb View commit details
    Browse the repository at this point in the history
  2. ignore and count require $ident instead of just ident

    this is also seen in the recent stabilization PR attempt: rust-lang/rust#122808 and rust playground confirms it.
    correabuscar authored and Veykril committed May 28, 2024
    Configuration menu
    Copy the full SHA
    a70defd View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Update macros-methodical.md

    a typo
    ydrea authored and Veykril committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    c3cddb8 View commit details
    Browse the repository at this point in the history