Antlr rafaelpsouza

Preview:

Citation preview

Rafael Souza

What is ANTLR?

ANother Tool for Language Recognition

What is ANTLR?

A powerful parser generator you can use to implement language interpreters, compilers, and

other translators.

Language Applications

Recognize inputs and respond them some way

Recognition

Identify and Classify the

Input.

Two Phases:1. Lexical analisys

2. Parsing

The Big Picture

The Big Picture

Relationship between characters, tokens, and ASTs

Grammar

Formal language description

[EBNF]

Parse Tree Walker

Listeners

Rafael Souza

@rafael_psouza

rafaelpsouza

rafaelpsouza

Recommended