Courslisp id4554 pdf Le Premier LISP Didier Verna didier lrde epita fr http www lrde epita fr ?didier Séminaire du LRDE Juin CTable des matières Table des matières Nativité S - expressions ou S -exp Les sept Opérateurs Primitifs Dénotation Fonctionnelle A
Le Premier LISP Didier Verna didier lrde epita fr http www lrde epita fr ?didier Séminaire du LRDE Juin CTable des matières Table des matières Nativité S - expressions ou S -exp Les sept Opérateurs Primitifs Dénotation Fonctionnelle Application à LISP Fonctions récursives Quelques Fonctions Le Miracle Explications Le Premier LISP Didier Verna - Séminaire du LRDE Juin CTable des matières Bilan Les apports de LISP Y- combinator Dynamic Scoping Le Premier LISP Didier Verna - Séminaire du LRDE Juin CNativité Nativité ? MIT Laboratoire d ? Intelligence Arti ?cielle ? Projet Advice Taker ? manipulation d ? expressions représentant des phrases déclaratives et impératives en vue de déductions ? IBM ? John Mc Carthy Recursive Functions of Symbolic Expressions and their Computation by Machine ? Le Premier LISP Didier Verna - Séminaire du LRDE Juin CNativité IBM Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp S -expressions ou S -exp Premier soucis dé ?nir une expression ? S comme symbolic ? Une S -exp est un atome ou une liste d ? expressions Une liste est une séquence parenthésée d ? expressions séparées par des espaces Un atome est une séquence de lettres foo foo foo bar foo bar baz Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp Valeurs des S -exp Une S -exp a une valeur analogie mathématique ? ? ? Une S -exp non atomique s ? écrit OP ARG ARG ? OP est un opérateur ? ? ARGx est un argument ? La valeur d ? une S -exp est dé ?nie comme l ? application de l ? opérateur à ses arguments On dé ?ni opérateurs primitifs ? axiomes Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp Les sept Opérateurs Primitifs Les sept Opérateurs Primitifs Opérateur n quote x Retourne x quote x est aussi noté ? x quote a a ? a b c a b c quote ? a b c quote a b c Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp Les sept Opérateurs Primitifs Opérateur n atom x Retourne t si la valeur de x est atomique sinon t représente vrai représente faux l ? atome nil est équivalent à atom ? a t atom ? a b c atom ? t Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp Les sept Opérateurs Primitifs Remarque évaluation des arguments Contrairement à quote atom évalue son argument atom atom ? a t atom ? atom ? a ?? quote est un élément distinctif de LISP c ? est l ? opérateur permettant de faire la distinction entre code et données conséquence de leur équivalence structurelle en LISP Le Premier LISP Didier Verna - Séminaire du LRDE Juin CS -expressions ou S -exp Opérateur n eq x y Les sept Opérateurs Primitifs Retourne t si les valeurs
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701380338wvldw30u41tu1rkyqcprflj4un99zyozavsu4a4735p7mc9ukqwpjawdulazfm1ku1bkfoakxdf5u8c1oagzbmpvbfrou21uhc7j.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701390441dmczjrslfgwyckhg8vmerzo7kfztte1s84g56be3d90b999wsmjoiy0mh9nls4aulanou6aiq1afuyffapwbk8jpdwem7o5slirw.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117013733381h4zltpmmbekirraa6f4yyyxyf0wlz05dnzrvkzll1sepzqklpq3rjaxsylm02kse4ijnheblei773qd6poz4vmzgihldorovskd.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117014370087nbnqk4lggqzeqhdm0afeerqtwvmoghynl3jz19yzwsairu4zmmf4qzawf9p1xbvrkarcuhhefpwxsuy8z4dz0pgycfevvsh0sfa.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701365312w0rhejyigvl98hi2ajr9zaebgmhmghzrj57dzaoexvuc2ocdkijsfn2uydedoeotkn3w7cpfl2jovr0o7qs24szd24plcikxwcyo.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701391046mg9mmegbsqyn3fvgagzumaaanwp9cblmhqjeodqqc2ds2dgst2dhbgft0x6cfwgwrxtwa61rdoa1w7eetbsemij3yg6eloa2gnmm.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701428476dcvkbbirkiydwgymq2scjmphurjyjk9z4vo4upqywmd13pk0hamhboqylrvskdnjqtmmiqzmd1zvhxyxlisniih8rpeszxxlen1l.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701430153o3n47t1jhpoqxdcycpyxoafucfxai3nws3mgwoknuhf6ak2va2xhd6olxikcz24wvlxayxsb0xnhl74rbo3alsr1gc3aia9uzbus.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701373674ehrteazbquhpvluttxuoguebbw6xqasiqucjxo6pbsoiw12eoe4y11d3e49qboylbf0rg2kc5q7tlovdqsgxktwy6tywyok6ybrg.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/117013651222qjuqiuanub1sb5wz8hms8tzlax1pgejn4xbp9xwnkvpp5zhsxqtudn5ebpouhegbgjvd15zfdbflac1sjla4mgadft5yeyfilot.png)
-
64
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Oct 21, 2022
- Catégorie Creative Arts / Ar...
- Langue French
- Taille du fichier 48.2kB