Skip to content

Commit 898c14e

Browse files
committed
Fix markup
1 parent a6df08a commit 898c14e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/components/compiler.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,26 @@ This library uses a simplified compiler design. This basically means that our pi
88
than a regular compiler. But its following the same semantics.
99

1010
Lexing and Parsing
11+
==================
1112

1213
A typical compiler will have separate lexing, syntax analysis. However the parser
13-
was designed to do part of the lexing because of all context dependend logic of most Markup languages.
14+
was designed to do part of the lexing because of all context-dependent logic of most Markup languages.
1415
We call this the parsing phase. This will result into an AST that is mostly close to the original source. It
1516
might contain some optimizations for later use.
1617

1718
Semantic analysis and Intermediate code generation
19+
==================================================
1820

1921
The semantic analysis phase of this library is performing a number of steps to collect information of the parsed markup
20-
language. An good example is the collection of the table of contents and the metadata of the parsed documents.
22+
language. A good example is the collection of the table of contents and the metadata of the parsed documents.
2123
This is the moment where document node traversers are executed.
2224

2325
Code optimization
26+
=================
2427

2528
Do some pre-rendering stuff, like buiding the TOC content and other rendering preparations before the real rendering starts.
2629

2730
Code generation
31+
===============
2832

29-
Code generation a.k. rendering. We do deliver a headless
33+
Code generation a.k.a. rendering. We do deliver a headless

0 commit comments

Comments
 (0)