forked from Grahack/pk-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·87 lines (84 loc) · 3.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>MicroAlg @ PK</title>
<meta name="description"
content="Exemples MicroAlg pour une présentation Pecha Kucha." />
<meta name="keywords" content="microalg, algo, algorithme, algorithmique, lisp, environnement" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="../emulisp/int.js" type="text/javascript"></script>
<script src="../emulisp/emulisp_core.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../web/style.css" />
<script type="text/javascript" src="../web/ide_injections.js"></script>
<script type="text/javascript" src="../web/parenedit.js"></script>
<link type="text/css" href="../web/parenedit.css" rel="stylesheet" />
<script src="../web/showdown.js"></script>
<script src="../web/showup.js"></script>
<link type="text/css" href="../web/showup.css" rel="stylesheet" />
<script type="text/javascript" src="../web/blockly/blockly_compressed.js"></script>
<script type="text/javascript" src="../web/blockly_microalg.js"></script>
<link rel="icon" href="../visuels/logo_microalg.ico" />
</head>
<body class="microalg">
<noscript>
<div style="color:#CC0000; text-align:center">
Besoin de Javascript pour les exercices interactifs.
</div>
</noscript>
<div class="navbar">
<a href="../">accueil</a> :
<a href="#top">haut de page</a>
</div>
<h1 id="top">MicroAlg @ Pecha Kucha</h1>
<p>Aller directement à :
<a href="#ex1">Exemple 1</a> -
<a href="#ex2">Exemple 2</a> -
<a href="diapos.html">Diaporama</a>
</p>
<h2 id="ex1"><a href="#ex1">: </a>Exemple 1</a></h2>
<div id="script-afficher"></div>
<script>inject_microalg_editor_in('script-afficher', {
blockly: true,
src:
'(Afficher "Bonjour PK !")\n' +
'(Afficher (+ 2 2))\n' +
''
});</script>
<h2 id="ex2"><a href="#ex2">: </a>Exemple 2</a></h2>
<div id="script-conjugaisons"></div>
<script>inject_microalg_editor_in('script-conjugaisons', {
src:
'(Initialiser sujets (Liste "yo" "tú" "él" "nosotros" "vosotros" "ellos"))\n' +
'(Initialiser conjugs (Liste "a" "as" "a" "amos" "áis" "an"))\n' +
'(Afficher "Veuillez entrer une racine verbale, comme « cant » pour « cantar ».")\n' +
'(Initialiser racine (Demander))\n' +
'(Initialiser i 1)\n' +
'(Tant_que (<= i 6)\n' +
' Faire\n' +
' (Afficher\n' +
' (Concatener\n' +
' (Nieme sujets i) " " racine "<code>" (Nieme@ conjugs) "</code>"\n' +
' )\n' +
' )\n' +
' (Affecter_a i (+ i 1))\n' +
')\n' +
''
});</script>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<script>
$().showUp('.navbar', {
upClass: 'navbar-show',
downClass: 'navbar-hide'
});
</script>
</body>
</html>