« Liaison de nom » : différence entre les versions


mAucun résumé des modifications
Balise : Éditeur de wikicode 2017
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 4 : Ligne 4 :
[[Category:Informatique]]Informatique<br>  
[[Category:Informatique]]Informatique<br>  
[[Catégorie:Langage de programmation]]Langage de programmation<br>
[[Catégorie:Langage de programmation]]Langage de programmation<br>
[[Category:Coulombe]]Coulombe<br>  
[[Category:Coulombe]]<br>  
[[Catégorie:Scotty]]<br>  
[[Catégorie:Scotty]]<br>  


Ligne 12 : Ligne 12 :


== Français ==
== Français ==
liaison de nom
'''liaison de nom'''


Source:


http://www-master.ufr-info-p6.jussieu.fr/2007/Ajouts/Master_esj_2007_2008/IMG/pdf/td3ilp-etu.pdf
== Anglais ==


== Anglais ==
''' Name binding '''


=== Name binding ===
In programming languages, name binding is the association of entities (data and/or code) with identifiers.[1] An identifier bound to an object is said to reference that object. Machine languages have no built-in notion of identifiers, but name-object bindings as a service and notation for the programmer is implemented by programming languages. Binding is intimately connected with scoping, as scope determines which names bind to which objects – at which locations in the program code (lexically) and in which one of the possible execution paths (temporally).


Use of an identifier id in a context that establishes a binding for id is called a binding (or defining) occurrence. In all other occurrences (e.g., in expressions, assignments, and subprogram calls), an identifier stands for what it is bound to; such occurrences are called applied occurrences.


<br/>
[http://www-master.ufr-info-p6.jussieu.fr/2007/Ajouts/Master_esj_2007_2008/IMG/pdf/td3ilp-etu.pdf  Source: ]
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

Version du 13 mai 2019 à 23:02

Domaine


Informatique
Langage de programmation


Définition

Dans un langage de programmation, la liaison de nom désigne l'assignation d'un nom (ou identifiant) à une entité de programmation comme une variable, une donnée ou structure de données, ou un bout de code. La liaison de nom diffère selon la définition de la portée de la variable (en anglais variable scope), c'est-à-dire l'étendue du programme où une variable est visible. L'exemple le plus simple de liaison de nom est l'affectation d'une variable. Par exemple n = 1.

Français

liaison de nom


Anglais

Name binding


Source: