Accueil > Technique > Informatique > Scratch > Difficile. > Mini interpreteur logo
Mini interpreteur logo
jeudi 15 septembre 2016, par
Scratch. Niveau : difficile.
Code source
En hommage à Seymour Papert ...
Interpréteur minimum : pas de variables, pas de procédures, 1 seul repete par ligne de commandes, mais deux puissants polyg et polyd.
Objectif : approcher la compréhension d’un interpréteur.
Cliquer sur le drapeau pour démarrer.
Essayez :
efface lc origine bc tc 3 cc 2 repete 60 [ polyg 100 4 tg 6 ] lc origine
Essayez :
efface lc origine bc tc 2 cc 4 polyg 6 60 polyg 5 60 polyg 3 60 polyd 6 60 polyd 5 60 polyd 3 60 av 100 tg 45 av 20 polyg 1 60 re 20 td 90 av 20 polyd 1 60 re 20 tg 45 re 200 av 20 polyg 10 5 polyd 10 5 lc origine