move *.md to notes/*.md and add lecture pdf

This commit is contained in:
2025-09-18 09:35:37 +09:00
parent 4054fc4b27
commit b790a4faa0
6 changed files with 27 additions and 1 deletions

View File

View File

@@ -118,3 +118,6 @@ main() {
* Thompson's construction (RE -> NFA) * Thompson's construction (RE -> NFA)
* Subset Construction(NFA -> DFA) * Subset Construction(NFA -> DFA)
DFA Optimization

23
notes/3.md Normal file
View File

@@ -0,0 +1,23 @@
# Syntax Analysis
## Context-Free Grammars (CFG)
## Parse Tree
A tree representation of the derivation
parse tree has `terminals` at the leaves, `non-terminals` at the interior.
An in-order traversal of the leaves is the original input.
* leftmost derivation
* rightmost derivation
### Ambiguity
should be resolved
for example: `A + B * C` should be resolved

BIN
pdf/L3.pdf Normal file

Binary file not shown.

BIN
pdf/P2.pdf Normal file

Binary file not shown.