-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test2.html
83 lines (82 loc) · 2.93 KB
/
Test2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<title>DFA SYNTATIC HIGHLIGHTER</title>
</head>
<body>
<main class="no-space">
<span class="special-chars">(</span>
<span class="reserved-words">define</span>
<span> </span>
<span class="special-chars">(</span>
<span class="identifiers">name</span>
<span> </span>
<span class="identifiers">param1</span>
<span class="operators">-</span>
<span class="identifiers">param2</span>
<span class="special-chars">)</span>
<span> </span>
<span class="comments">; (, define, (, variable, variable, operador, variable, ), ), comentario</span>
<span><br></span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span class="identifiers">body</span>
<span> </span>
<span class="comments">; aquí; ocurre la-mágia - variable, comentario</span>
<span><br></span>
<span class="special-chars">)</span>
<span> </span>
<span class="comments">; (, comentario</span>
<span><br></span>
<span><br></span>
<span class="special-chars">(</span>
<span class="identifiers">name</span>
<span> </span>
<span class="symbols">'a)</span>
<span> </span>
<span class="comments">; (, variable, símbolo, comentario</span>
<span><br></span>
<span><br></span>
<span><br></span>
<span class="symbols">'name+1</span>
<span> </span>
<span> </span>
<span class="operators">-</span>
<span class="identifiers">name</span>
<span class="operators">*</span>
<span class="numbers">3</span>
<span class="operators">^</span>
<span class="numbers">4</span>
<span class="operators">/</span>
<span class="numbers">5.2</span>
<span> </span>
<span class="comments">; símbolo, operador, variable, operador, número, operador, número, operador, número, comentario</span>
<span><br></span>
<span><br></span>
<span class="errors">#t#f</span>
<span> </span>
<span class="comments">; error, comentario</span>
<span><br></span>
<span class="errors">1.2ebc</span>
<span class="operators">+</span>
<span class="logicals">#f</span>
<span> </span>
<span class="comments">; error, operador, falso, comentario</span>
<span><br></span>
<span class="symbols">'(#t+#f)</span>
<span> </span>
<span class="comments">; símbolo, comentario</span>
<span><br></span>
<span class="errors">hol@2</span>
<span class="operators">-</span>
<span class="identifiers">mundo2</span>
<span> </span>
<span class="comments">; error, operador, variable, comentario</span>
<span><br></span>
</main>
</body>
</html>