What is a Parse Tree? + Example
Автор: Easy Theory
Загружено: 2021-07-28
Просмотров: 44511
Описание:
Here we introduce parse trees, which are a visual representation of context-free grammars, specifically in their derivations. We give an example of a parse tree, namely for balanced parentheses. Additionally, we give reasoning as to why (leftmost) derivations are equivalent to parse trees, and that we can then without loss of generality talk about parse trees as a result.
(This is a re-record of a video with the same general material, uploaded in 2020.)
Easy Theory Website: https://www.easytheory.org
GoFundMe: https://www.gofundme.com/f/easy-theor...
Patreon: / easytheoryyt
Fourthwall: https://easy-theory-llc-shop.fourthwa...
Problem Solving channel: @easytheoryprobsolve
Timeline:
0:00 - Intro
0:24 - Context-Free Grammar for Balanced Parentheses
1:00 - Example Derivation of a String
5:00 - Creating the Parse Tree
10:15 - How to read a string in a Parse Tree?
12:00 - What purpose does a Parse Tree have?
If you like this content, please consider subscribing to my channel: / @easytheory
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: