Informatiker Board (http://www.informatikerboard.de/board/index.php)
- Themengebiete (http://www.informatikerboard.de/board/board.php?boardid=1)
-- Praktische Informatik (http://www.informatikerboard.de/board/board.php?boardid=6)
--- Compilerentwurf Name-Analysis Bindung von Variablen (http://www.informatikerboard.de/board/thread.php?threadid=3449)


Geschrieben von deppensido am 07.02.2017 um 18:10:

  Compilerentwurf Name-Analysis Bindung von Variablen

Hallo,

Zum Thema Semantische Analyse -> Name Analysis, habe ich eine
Aufgabe bei der ich etwas hänge. Die Aufgabe lautet:

Assume you define a programming language which requires defining occurences of identifiers to be located before applied occurences.

(a) How would you enable the use of recursive function calls?
(b) How would you allow forward jumps?

Meine Ideen:

(a) bind defining identifiers in recursive function before calling it.
(b) bind before perform a forward jump.

Kommt das ungefähr so hin oder liege ich mit den Antworten total daneben?
Ich freue mich über alle Antworten.


Forensoftware: Burning Board, entwickelt von WoltLab GmbH