Cyan's Blog

Search

Search IconIcon to open search

Compiler-2_Bottom-Up_Parsing-自底向上分析

Last updated Oct 30, 2021 Edit Source

# Bottom-Up Parsing

2021-10-30

Tags: #Compiler #Course

# Shift-reduce parsing1

# 课堂概念: 短语 直接短语 句柄 规范规约

规范规约: 每步都替换句柄的规约 句柄就是 “那个可以直接规约的东西”

# stack-based shift-reduce parsing


  1. https://en.wikipedia.org/wiki/Shift-reduce_parser ↩︎

  2. https://www.geeksforgeeks.org/role-of-operator-precedence-parser/ ↩︎