Скачать презентацию Context Free Languages CFL CFG Example Скачать презентацию Context Free Languages CFL CFG Example

57642d3500d667a262c47654a91c16f6.ppt

  • Количество слайдов: 68

Context Free Languages (CFL) Context Free Languages (CFL)

CFG Example CFG Example

Formal Definition of a CFG Formal Definition of a CFG

CFG Notation CFG Notation

Sample CFG Sample CFG

Recursive Inference Recursive Inference

Recursive Inference Exercise Recursive Inference Exercise

Derivation Derivation

Multiple Derivation Multiple Derivation

Leftmost Derivation Leftmost Derivation

Rightmost Derivation Rightmost Derivation

Rightmost Derivation Example Rightmost Derivation Example

Left or Right? Left or Right?

CFG Exercises CFG Exercises

Ambiguous Grammars Ambiguous Grammars

Ambiguous Grammar Ambiguous Grammar

Removing Ambiguity Removing Ambiguity

Parse Trees Parse Trees

Sample Parse Tree Sample Parse Tree

Sample Parse Tree Sample Parse Tree

YACC YACC

YACC Example Productions YACC Example Productions

Example YACC Semantics Example YACC Semantics

Example 2: XML - What is it? Example 2: XML - What is it?

HTML and XML HTML and XML

HTML Rendered HTML Rendered

Sample XML File Sample XML File

Displaying XML Displaying XML

Second Rendering Second Rendering

Second example: Song Lyrics in HTML Second example: Song Lyrics in HTML

Song Lyrics in XML Song Lyrics in XML

Song XSL Style Sheet for Formatting Song XSL Style Sheet for Formatting

Third Example - News Story Third Example - News Story

Different Display using Different Style Sheets for Different Apps Different Display using Different Style Sheets for Different Apps

Example Applications Example Applications

Mathematical Markup Language Mathematical Markup Language

Vector Graphics Vector Graphics

File Formats, In-House, Other File Formats, In-House, Other

Summary of XML Benefits Summary of XML Benefits

Where do the XML Tags Come From? Where do the XML Tags Come From?

DTD - Defining Tags DTD - Defining Tags

Sample DTD and XML Sample DTD and XML

Greeting XSL Greeting XSL

Family Tree - Derived from SGML (Standard Gen. Markup Lang) Family Tree - Derived from SGML (Standard Gen. Markup Lang)

XML Usage XML Usage

More XML Usage More XML Usage

XML Query Language XML Query Language

Programming XML Programming XML

Style Sheets / DTD / XML Style Sheets / DTD / XML

Lots of people using it…but Lots of people using it…but

Quick Quiz Quick Quiz

Summary Summary

HTML Grammar HTML Grammar

XML’s DTD XML’s DTD

Element Description Element Description

PC Specs DTD PC Specs DTD

Pc Specs XML Document Pc Specs XML Document

Examples with Style Sheet Examples with Style Sheet

Prod. XML Prod. XML

Prod. Lst. XSL Prod. Lst. XSL

Prod. Tbl. xsl Prod. Tbl. xsl

Product Rendering Results Product Rendering Results