Compilerentwurf Name-Analysis Bindung von Variablen

Neue Frage »

Auf diesen Beitrag antworten »
deppensido 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.
 
 
Neue Frage »
Antworten »


Verwandte Themen

Die Beliebtesten »
Die Größten »
Die Neuesten »