Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit1f73c281d0613285addf8c797f3e6f14d07e5ac7 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-04-01 17:11:55 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-04-01 17:11:55 +0300
Filesd171b8e48a4169cdb48e50c200d77999dc7631f8
syndamia.com-1f73c281d0613285addf8c797f3e6f14d07e5ac7.tar
syndamia.com-1f73c281d0613285addf8c797f3e6f14d07e5ac7.tar.gz
syndamia.com-1f73c281d0613285addf8c797f3e6f14d07e5ac7.zip
Parent6b9a094b34a480c6d9331a715017449a896dd704 (diff)
[blog/seoc] Reworked contents
1 files changed, 14 insertions, 12 deletions
-rw-r--r--src/blog/sane-explanation-of-compilers-and-lex-yacc/index.md26
diff --git a/src/blog/sane-explanation-of-compilers-and-lex-yacc/index.md b/src/blog/sane-explanation-of-compilers-and-lex-yacc/index.md
index fea71ee..9a551eb 100644
--- a/src/blog/sane-explanation-of-compilers-and-lex-yacc/index.md
+++ b/src/blog/sane-explanation-of-compilers-and-lex-yacc/index.md
@@ -5,19 +5,21 @@
1. [Preface](#preface)
2. [1. How do we understand code?](#1.-how-do-we-understand-code)
1. [Math](#math)
- 1. [Regex](#regex)
+ 1. [Regular expressions](#regular-expressions)
2. [Grammars](#grammars)
- 2. [Using regular expressions and grammars in the real world](#using-regular-expressions-and-grammars-in-the-real-world)
- 1. [Practical problems with grammars](#practical-problems-with-grammars)
- 2. [A middle ground](#a-middle-ground)
- 3. [How do we use them for compiling code](#how-do-we-use-them-for-compiling-code)
- 3. [Lexers and parsers](#lexers-and-parsers)
- 1. [lex](#lex)
- 2. [yacc](#yacc)
-3. [2. How can we improve the code?]
-4. [3. How do you generate machine instructions?]
- 2. [Virtual machines]
-5. [Compilation schemes]
+ 2. [Lexers and parsers](#lexers-and-parsers)
+ 1. [Implementational difficulties with grammars](#implementational-difficulties-with-grammars)
+ 2. [Usage in the real world](#usage-in-the-real-world)
+ 3. [Parsing algorithms](#parsing-algorithms)
+ 4. [Abstract syntax tree](#abstract-syntax-tree)
+3. [Implementing a front-end](#implementing-a-front-end)
+ 1. [lex](#lex)
+ 1. [Example 1](#example-1)
+ 2. [Example 2](#example-2)
+ 2. [yacc](#yacc)
+4. [2. How can we improve the code?]
+5. [3. Virtual machines]
+6. [Compilation schemes]
1. [AOT]
2. [JIT]