Compilerbau at RWTH Aachen

Flashcards and summaries for Compilerbau at the RWTH Aachen

Arrow Arrow

It’s completely free

studysmarter schule studium
d

4.5 /5

studysmarter schule studium
d

4.8 /5

studysmarter schule studium
d

4.5 /5

studysmarter schule studium
d

4.8 /5

Study with flashcards and summaries for the course Compilerbau at the RWTH Aachen

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Special symbols

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Starting point

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Ensuring Uniqueness 

Principle 2

This was only a preview of our StudySmarter flashcards.
Flascard Icon Flascard Icon

Millions of flashcards created by students

Flascard Icon Flascard Icon

Create your own flashcards as quick as possible

Flascard Icon Flascard Icon

Learning-Assistant with spaced repetition algorithm

Sign up for free!

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

lexemes

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Keywords

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

First goal of lexical analysis

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

P exhibits lexical structures, e.g.?

This was only a preview of our StudySmarter flashcards.
Flascard Icon Flascard Icon

Millions of flashcards created by students

Flascard Icon Flascard Icon

Create your own flashcards as quick as possible

Flascard Icon Flascard Icon

Learning-Assistant with spaced repetition algorithm

Sign up for free!

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Important Symbol Classes

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

symbols

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Identifiers

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Goal of lexical analysis

This was only a preview of our StudySmarter flashcards.
Flascard Icon Flascard Icon

Millions of flashcards created by students

Flascard Icon Flascard Icon

Create your own flashcards as quick as possible

Flascard Icon Flascard Icon

Learning-Assistant with spaced repetition algorithm

Sign up for free!

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Second goal of lexical analysis

Your peers in the course Compilerbau at the RWTH Aachen create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.

Get started now!

Flashcard Flashcard

Exemplary flashcards for Compilerbau at the RWTH Aachen on StudySmarter:

Compilerbau

Special symbols

one special character, e.g. +, *, <, (, etc

more special characters, e.g. :=, **, <=, etc.

several combined into class

Compilerbau

Starting point

Ω character set

a, b, c, . . . ∈ Ω characters/lexical atoms

P ∈ Ω* source program, character sequence

Compilerbau

Ensuring Uniqueness 

Principle 2

Principle of the first match

for uniqueness of analysis

prioritise regular expressions

choose first matching regular expression

Compilerbau

lexemes

sequences of input characters

differences between similar lexemes irrelevant for syntax analysis

grouped into symbol classes

Compilerbau

Keywords

identifiers with predefined meaning

representing control structures, operators, etc.

Compilerbau

First goal of lexical analysis

Decomposition of program text into a sequence of lexemes

Compilerbau

P exhibits lexical structures, e.g.?

natural language for keywords, identifiers, etc.
textual notation for numbers, formulae, etc.
spaces, line breaks, indentation
comments and compiler directives (pragmas)

Compilerbau

Important Symbol Classes

Identifiers

Keywords

Numerals

Special symbols

White spaces

Compilerbau

symbols

Syntactic atoms

represented as lexemes

symbol classes represented by tokens

symbols distinguished by attributes

symbol = (token, attribute)

Compilerbau

Identifiers

for naming variables, constants, classes, etc.
non-empty sequence of letters and digits

starting with letter

keywords forbidden

length possibly restricted

Compilerbau

Goal of lexical analysis

Decomposition source program into sequence of lexemes, transformation into sequence of symbols

Compilerbau

Second goal of lexical analysis

Transformation of a sequence of lexemes into a sequence of symbols

Sign up for free to see all flashcards and summaries for Compilerbau at the RWTH Aachen

Singup Image Singup Image
Wave

Other courses from your degree program

For your degree program Compilerbau at the RWTH Aachen there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.

Back to RWTH Aachen overview page

IT Sec 2

Lineare Algebra

Gesundheitssysteme

Betriebssysteme und Systemsoftware

WebTechnologien

Einführung in die Technische Informatik

Entscheidungslehre

IT Sicherheit

Nato-Alphabet

Diskrete Strukturen

Programmierung

Ackerbau at

Humboldt-Universität zu Berlin

Assembler, Interpreter/Compiler at

Universität Potsdam

CompSys at

Universität zu Kiel

Comptia at

LMU München

Wasserbau at

Hochschule für angewandte Wissenschaften Würzburg-Schweinfurt

Similar courses from other universities

Check out courses similar to Compilerbau at other universities

Back to RWTH Aachen overview page

What is StudySmarter?

What is StudySmarter?

StudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for Compilerbau at the RWTH Aachen or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.

Awards

Best EdTech Startup in Europe

Awards
Awards

EUROPEAN YOUTH AWARD IN SMART LEARNING

Awards
Awards

BEST EDTECH STARTUP IN GERMANY

Awards
Awards

Best EdTech Startup in Europe

Awards
Awards

EUROPEAN YOUTH AWARD IN SMART LEARNING

Awards
Awards

BEST EDTECH STARTUP IN GERMANY

Awards