Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Context-Free Grammars - LL(k) Grammars

Write your own Operating System via YouTube

Overview

Learn about translating Context-Free Grammars into deterministic, fast parsers and compilers in this comprehensive video lecture. Explore the process of creating a hand-written parser for arithmetic expressions, understanding the concepts of nondeterminism, recursive descent, and left recursive rules. Dive into topics such as regular expressions, creating context-free grammars, using nonterminals, and handling forward declarations. Gain valuable insights into parser development and grammar translation techniques to enhance your understanding of compiler design and implementation.

Syllabus

Introduction
Parser
Regular Expressions
Nondeterminism
Creating a contextfree grammar
What we need to do
Using nonterminals
Recursive descent
Vital Statistics
Left Recursive Rules
Left Recursive Code
Handling
Offset
Forward declaration

Taught by

Write your own Operating System

Reviews

Start your review of Context-Free Grammars - LL(k) Grammars

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.