61. AQA A Level (7517) SLR7 - 4.4.3 Backus-Naur form and syntax diagrams

Craig'n'Dave Craig'n'Dave

6,366
1 năm trước
AQA Specification Reference
A Level 4.4.3.1

This videos explores two important methods you can use to check language syntax and simple product rules. These are BNF and Syntax diagrams. We also discuss why BNF can represent some languages which cannot be represented using regular expression.

Key questions:

- What is Backus-Naur form (BNF) and why do we use it?
- What are syntax diagrams, and how can they be used to represent BNF and vice versa?

00:00 Backus-Naur form and syntax diagrams
00:16 Intro
00:21 Defining syntax
01:39 Backus-Naur form (BNF)
04:52 Syntax diagrams
05:55 Key questions
06:09 Outro

Why do we disable comments? We want to ensure these videos are always appropriate to use in the classroom. However, we value your feedback, and are happy to consider amendments due to inaccuracies. Please get in touch with us directly at: admin@craigndave.co.uk