@@ -14,15 +14,24 @@ A short getting started on derive macros guide in Rust.
14
14
> [ !IMPORTANT]
15
15
> This assumes you're familiar with Rust's declarative macros. Or at least
16
16
> knowledgeable of programming language syntax and meaning of words like:
17
- > ` identifier ` and ` expression ` .
17
+ > ` identifier ` and ` expression ` .[ ^ 1 ] [ ^ 2 ] [ ^ 3 ] [ ^ 4 ] [ ^ 5 ]
18
+
19
+ [ ^ 1 ] : < https://doc.rust-lang.org/reference/macros-by-example.html#metavariables >
20
+
21
+ [ ^ 2 ] : < https://doc.rust-lang.org/reference/items.html >
22
+
23
+ [ ^ 3 ] : < https://doc.rust-lang.org/reference/attributes.html >
24
+
25
+ [ ^ 4 ] : < https://doc.rust-lang.org/reference/statements-and-expressions.html >
26
+
27
+ [ ^ 5 ] : < https://doc.rust-lang.org/reference/names.html >
18
28
19
29
## Table of Contents
20
30
21
31
---
22
32
23
33
- [ Derive macro example] ( #derive-macro-example )
24
34
- [ Table of Contents] ( #table-of-contents )
25
- - [ Preface] ( #preface )
26
35
- [ What will be discussed] ( #what-will-be-discussed )
27
36
- [ Front-end, back-end and intermediate representation] ( #front-end-back-end-and-intermediate-representation )
28
37
- [ What will be done] ( #what-will-be-done )
@@ -33,23 +42,6 @@ A short getting started on derive macros guide in Rust.
33
42
34
43
---
35
44
36
- ## Preface
37
-
38
- This assumes you're already familiar with declarative macros. Meaning you know
39
- what an Identifier and an Expression are and have written declarative macros.
40
- If you aren't familiarized with those things then you can read more about the
41
- core language syntax.[ ^ 1 ] [ ^ 2 ] [ ^ 3 ] [ ^ 4 ] [ ^ 5 ]
42
-
43
- [ ^ 1 ] : < https://doc.rust-lang.org/reference/macros-by-example.html#metavariables >
44
-
45
- [ ^ 2 ] : < https://doc.rust-lang.org/reference/items.html >
46
-
47
- [ ^ 3 ] : < https://doc.rust-lang.org/reference/attributes.html >
48
-
49
- [ ^ 4 ] : < https://doc.rust-lang.org/reference/statements-and-expressions.html >
50
-
51
- [ ^ 5 ] : < https://doc.rust-lang.org/reference/names.html >
52
-
53
45
## What will be discussed
54
46
55
47
1 . A quick introduction to the three main types of declarative macros[ ^ 6 ] :
0 commit comments