Professional Documents
Culture Documents
Systems Engineering Program Subject Professor Activity 1. Goals
Systems Engineering Program Subject Professor Activity 1. Goals
Subject Compilers
Professor Fran Ernesto Romero
Activity Workshop No. 3: LL1 Grammars
1. Goals
Strengthen the knowledge acquired around alphabet, language and grammar concepts.
Learn how to implement the recursive descent analysis algorithm.
Understand the relationship between lexical and syntactic analysis.
2. Approach
• X == Y
• X <> Y
• X> Y
• X <Y
Conditions can be composed using the AND and OR operators. For example:
(Fever > 31 AND Days > 2) OR BreathingFrequency < 15
Variable names can be words without accent marks, eñes, spaces or numbers.
It is requested:
• Define a LL1 grammar –no-terminals, terminals, axioms, productions- for the described
language.
You can develop the exercise using XText and get an extra grade
https://www.eclipse.org/Xtext/
3.General conditions