Formal Languages and Translators: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 32: Line 32:
==Parse Tree==
==Parse Tree==


A parse tree is a graphical representation of a derivation. Each interior node of a parse tree represents the application of a production.
A parse tree is a graphical representation of a [[#Derivation|derivation]]. Each interior node of a parse tree represents the application of a [[#Production|production]]. A parse tree does not contain the information that reflects the order in which productions are applied to replace [[#Nonterminal|nonterminals]].


==<span id='Syntax_Tree'></span>(Abstract) Syntax Tree==
==<span id='Syntax_Tree'></span>(Abstract) Syntax Tree==

Revision as of 20:59, 13 July 2018

Internal

Overview

Compiler

Interpreter

Lexical Analysis

Regular Expressions

Finite Automata

Syntax Analysis (Parsing)

TODO Deplete This Parsing

Grammar

Derivation Production


Backus-Naur Form (BNF)

Extended Backus-Naur Form (EBNF)

Parse Tree

A parse tree is a graphical representation of a derivation. Each interior node of a parse tree represents the application of a production. A parse tree does not contain the information that reflects the order in which productions are applied to replace nonterminals.

(Abstract) Syntax Tree

Parser

Top-Down Parser

Bottom-Up Parser

Semantic Analysis