18.11.2014 Views

Langages de l'informatique

Langages de l'informatique

Langages de l'informatique

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Les Fonctions d’un Langage<br />

<strong>Langages</strong> <strong>de</strong> l’informatique<br />

Patrick Bellot<br />

Introduction<br />

Les langages<br />

Les paradigmes<br />

Modèle impératif abstrait<br />

Boehm et Jacopini<br />

Programmation impérative<br />

Programmation fonctionnelle<br />

Programmation en logique<br />

Gestion <strong>de</strong> la mémoire<br />

Quatre types <strong>de</strong> mémoire<br />

Gérer sa mémoire<br />

Comptage <strong>de</strong> référence<br />

Syntaxe et sémantique<br />

Sémantiques<br />

Analyse lexicale<br />

Analyse syntaxique<br />

Lorsque nous écrivons en C :<br />

float f ;<br />

Gérer la représentation binaire <strong>de</strong>s données<br />

le compilateur se charge <strong>de</strong> trouver <strong>de</strong>ux mots dans la mémoire pour<br />

ranger le nombre flottant f. La REPRESENTATION BINAIRE du<br />

nombre flottant peut dépendre du système d’exploitation.<br />

De même, lorsque nous écrivons en Pascal :<br />

type<br />

var<br />

etudiant = record<br />

nom : array[1..25] of character ;<br />

prenom : array[1..25] of character ;<br />

end ;<br />

e : etudiant ;<br />

Compilation<br />

Interprétation<br />

Machine p. 18 - Licence virtuelle<strong>de</strong>s droits d’usage en page 2.<br />

le compilateur se charge <strong>de</strong> calculer la TAILLE <strong>de</strong>s données et <strong>de</strong><br />

réserver la zone mémoire correspondante.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!