-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (63 loc) · 2.31 KB
/
index.html
File metadata and controls
70 lines (63 loc) · 2.31 KB
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
<html>
<head>
<meta charset="utf-8">
<title>INFO</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div>
<h1>INFO LENGUAJES</h1>
<h2>TOKENS DEL LENGUAJE</h2>
<p>TOKENS</p>
<p>ENT -> (int) tipo dato entero</p>
<p>ENTL -> (#0) literal de entero</p>
<p>FLT -> (flt) tipo dato flotante</p>
<p>FLTL -> ($0.0) literal de flotante</p>
<p>CAD -> (str) tipo dato string</p>
<p>CADL -> ("mi cadena") literal de string</p>
<p>ID -> (&variable) token de variable</p>
<p>BL -> (bl) token de tipo dato boolenano</p>
<p>FUN -> (fun) token de funcion</p>
<p>PARA -> (for) token de for</p>
<p>SI -> (if) token de if</p>
<p>SN -> (else) token de else</p>
<p>MTR -> (while) token de mientras</p>
<p>ENTC -> (then) token de then</p>
<p>RET -> (ret) token de ret(return)</p>
<p>DIGA -> (say) token de say(decir o imprimir algo)</p>
<p>ENTC -> (then) token de then</p>
<p>SUM -> (+) token de suma</p>
<p>RES -> (-) token de resta</p>
<p>POR -> (*) token de multiplicacion</p>
<p>DIV -> (/) token de division</p>
<p>LA -> ({) token de llave que abre</p>
<p>LC -> (}) token de llave que cierra</p>
<p>PA -> ( ( ) token de parentesis que abre</p>
<p>PC -> ( ) ) token de parentesis que cierra</p>
<p>IG -> (=) token de igual</p>
<p>MAY -> (>) token de mayor</p>
<p>MN -> (<) token de menor</p>
<p>MAOG -> (>=) token de mayor o igual</p>
<p>MEOG -> (<=) token de menor o igual</p>
<p>DIF -> (!=) token de diferente</p>
<p>FL -> (;) token de fin de linea</p>
<p>BLL -> (True False) token literal de booleano </p>
<p>COMTL -> (//comentario//) token de comentario de unalinea</p>
<p>NO -> (not) token de negacion</p>
<p>Y -> (and) token de operacion logica &&</p>
<p>O -> (or) token de o</p>
<h1>sintaxis de un asing</h1>
<img src="EjImg/asig_imagen.png">
<h1>sintaxis de un if</h1>
<img src="EjImg/if_imagen.png">
<h1>sintaxis de un while</h1>
<img src="EjImg/while_imagen.png">
<h1>sintaxis de un for</h1>
<img src="EjImg/for_imagen.png">
<h1>sintaxis de un fun</h1>
<img src="EjImg/fun_imagen.png">
<h1>sintaxis de un ejemplo</h1>
<img src="EjImg/ejem_imagen.png">
</div>
</body>
</html>