Skip to content

Commit 9b12be5

Browse files
committed
add syntax ch intro
1 parent 3fb0fd9 commit 9b12be5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/syntax-intro.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Syntax and the AST
2+
3+
Working directly with source code is very inconvenient and error-prone. Thus,
4+
before we do anything else, we convert raw source code into an AST. It turns
5+
out that doing even this involves a lot of work, including lexing, parsing,
6+
macro expansion, name resolution, conditional compilation, feature-gate
7+
checking, and validation of the AST. In this chapter, we take a look at all
8+
of these steps.

0 commit comments

Comments
 (0)