Skip to content

Commit 6804fbd

Browse files
committed
Fix artifacts from merge
1 parent 956b4f9 commit 6804fbd

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ end
4040
"<div><h1 class=\"title\">Hello</h1><p>Metaprogramming Elixir</p></div>"
4141
```
4242

43-
</details>
44-
45-
<details>
46-
<summary>The Abstract Syntax Tree</summary>
43+
#### The Abstract Syntax Tree
4744

4845
- Most languages use AST but you never need to know about them. They are used typically during compilation
4946
or interpretation to transform source code into a tree structure before being turned into bytecode
@@ -68,10 +65,7 @@ iex> quote do: div(10, 2)
6865
- The purpose of macros is to interact with this AST with the syntax of Elixir.
6966
- Macros turn you from language consumer to language creator. You have the same level of power as José when he wrote the standard library.
7067

71-
</details>
72-
73-
<details>
74-
<summary>Trying It All Together</summary>
68+
#### Trying It All Together
7569

7670
"Let's write a macro that can print the spoken form of an Elixir mathematical expression, such as 5 + 2, when calculating a result.
7771
In most languages, we would have to parse a string expression into something digestible by our program. With Elixir, we can access

0 commit comments

Comments
 (0)