Skip to content

Commit

Permalink
Remove preface section
Browse files Browse the repository at this point in the history
  • Loading branch information
1Git2Clone authored Jan 14, 2025
1 parent ff4d731 commit d2f97a6
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ A short getting started on derive macros guide in Rust.
> [!IMPORTANT]
> This assumes you're familiar with Rust's declarative macros. Or at least
> knowledgeable of programming language syntax and meaning of words like:
> `identifier` and `expression`.
> `identifier` and `expression`.[^1] [^2] [^3] [^4] [^5]
[^1]: <https://doc.rust-lang.org/reference/macros-by-example.html#metavariables>

[^2]: <https://doc.rust-lang.org/reference/items.html>

[^3]: <https://doc.rust-lang.org/reference/attributes.html>

[^4]: <https://doc.rust-lang.org/reference/statements-and-expressions.html>

[^5]: <https://doc.rust-lang.org/reference/names.html>

## Table of Contents

---

- [Derive macro example](#derive-macro-example)
- [Table of Contents](#table-of-contents)
- [Preface](#preface)
- [What will be discussed](#what-will-be-discussed)
- [Front-end, back-end and intermediate representation](#front-end-back-end-and-intermediate-representation)
- [What will be done](#what-will-be-done)
Expand All @@ -33,23 +42,6 @@ A short getting started on derive macros guide in Rust.

---

## Preface

This assumes you're already familiar with declarative macros. Meaning you know
what an Identifier and an Expression are and have written declarative macros.
If you aren't familiarized with those things then you can read more about the
core language syntax.[^1] [^2] [^3] [^4] [^5]

[^1]: <https://doc.rust-lang.org/reference/macros-by-example.html#metavariables>

[^2]: <https://doc.rust-lang.org/reference/items.html>

[^3]: <https://doc.rust-lang.org/reference/attributes.html>

[^4]: <https://doc.rust-lang.org/reference/statements-and-expressions.html>

[^5]: <https://doc.rust-lang.org/reference/names.html>

## What will be discussed

1. A quick introduction to the three main types of declarative macros[^6]:
Expand Down

0 comments on commit d2f97a6

Please sign in to comment.