-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
389 lines (342 loc) · 15.7 KB
/
Copy pathindex.html
File metadata and controls
389 lines (342 loc) · 15.7 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Разработка языков (Сириус 2024)</title>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- <link rel="icon" sizes="192x192" href="images/android-desktop.png"> -->
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Material Design Lite">
<link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#3372DF">
<!--
<link rel="shortcut icon" href="images/favicon.png"> -->
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
<!--
<link rel="canonical" href="http://www.example.com/">
-->
<!-- <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> -->
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<!-- <link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.grey-orange.min.css">
<link rel="stylesheet" href="styles.css"> -->
<!-- Material Design Lite -->
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<!-- Material Design icon font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- https://codepen.io/k3no/pen/xqxaWv -->
<style type="text/css">
body {
background-color: Whitesmoke;
}
.demo-layout-waterfall .mdl-layout__header-row .mdl-navigation__link:last-of-type {
padding-right: 0;
}
.cellOne-cell {
width: 100%;
/* background-color: blue; */
text-align: right;
}
.cellTwo-cell {
/* width: 100%; */
background-color: white;
min-height: 200px;
text-align: right;
}
.cellThree-cell {
/* width: 100%; */
background-color: white;
min-height: 200px;
text-align: left;
}
.cellFour-cell {
/* width: 100%; */
background-color: white;
min-height: 200px;
/* text-align: right; */
}
.cellFive-cell {
/* width: 100%; */
background-color: white;
min-height: 200px;
/* text-align: right; */
}
.cellSix-cell {
/* width: 100%; */
/* background-color: white; */
min-height: 200px;
/* text-align: right; */
}
.bar {
box-sizing: border-box;
position: relative;
background: rgba(83, 109, 254, 1);
color: white;
height: 64px;
width: 100%;
padding: 16px;
}
.spacerh {
background-color: blue;
/* min-height: 60px; */
}
.demo-card-image.mdl-card {
/* width: 300px;
height: 300px; */
/* background: url('https://www.fillmurray.com/256/256') center / cover; */
}
.demo-card-image>.mdl-card__actions {
height: 52px;
padding: 16px;
background: rgba(83, 109, 254, 1);
}
.demo-card-image__filename {
color: #fff;
font-size: 14px;
font-weight: 500;
}
</style>
<style>
.my-run-btn {
background-color: whitesmoke;
}
#env-area {
/* width: 15vw; */
height: 200px;
}
#env-area-status {
color: red;
}
#env-area-status,
#env-area,
#lama-src-area,
#bc-json-area {
width: 100%;
height: 200pt;
min-height: 100pt;
/* height: 150pt; */
box-sizing: border-box;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-size: 16px;
font-weight: 500;
}
#src-json-area {
text-align: left;
margin: 10px;
height: 180pt;
overflow: scroll;
}
.my-top-container {
min-height: 250pt;
padding: 16px;
}
.flex-vertical-container {
height: 100%;
display: flex;
flex-direction: column;
}
</style>
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span id="language-description-span" class="mdl-layout__title">Язык номер 0</span>
<!-- <div class="mdl-layout-spacer"></div>
<div id="tt4" class="icon material-icons">share</div>
<div class="mdl-tooltip" for="tt4">
I am tooltip
</div> -->
</div>
</header>
<!-- <div class="mdl-layout__drawer">
<span class="mdl-layout__title">Navi-Gator</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="#">Linky 1</a>
<a class="mdl-navigation__link" href="#">Linky 2</a>
</nav>
</div> -->
<main class="mdl-layout__content">
<!--
<div class="mdl-grid">
<div class="mdl-cell cellOne-cell mdl-cell--12-col">
<span class="mdl-chip">
<span class="mdl-chip__text">Chip</span>
</span>
<span class="mdl-chip">
<span class="mdl-chip__text">Chip</span>
</span>
<span class="mdl-chip">
<span class="mdl-chip__text">Chiper</span>
</span>
</div>
</div> -->
<div class="mdl-grid">
<div
class="mdl-cell cellTwo-cell mdl-cell--4-col mdl-cell--12-col-tablet mdl-card mdl-shadow--3dp my-top-container flex-vertical-container">
<!--
<div class="bar">
<button id="demo-menu-lower-right" class="mdl-button mdl-js-button mdl-button--icon">
<i class="material-icons">more_vert</i>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect"
for="demo-menu-lower-right">
<li class="mdl-menu__item">Cookies</li>
<li class="mdl-menu__item">Cream</li>
</ul>
</div> -->
<h5 style="margin: 10px;">Значения входного потока вводить ниже</h5>
<textarea id="env-area" class="user-input-area"></textarea>
<!-- <ul class="demo-list-icon mdl-list">
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">person</i>
Mickey Mouse
</span>
</li>
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">person</i>
Charlie Brown
</span>
</li>
</ul> -->
</div>
<div class="mdl-cell cellThree-cell mdl-cell--4-col mdl-card mdl-shadow--3dp my-top-container">
<div class="bar">
<button id="compileLamaBtn"
class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect my-run-btn">
ИСПОЛНИТЬ ПРОГРАММУ
</button>
</div>
<div class="mdl-card__supporting-text flex-vertical-container">
<h5 style="margin: 10px;">Ниже код на языке программировния</h5>
<textarea id="lama-src-area" class="user-input-area" style="flex-grow: 1;"></textarea>
</div>
</div>
<div class="mdl-cell cellThree-cell mdl-cell--4-col mdl-card mdl-shadow--3dp my-top-container">
<div class="bar">
<button id="runBcBtn"
class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect my-run-btn">
ИСПОЛНИТЬ БАЙТКОД
</button>
</div>
<div class="mdl-card__supporting-text flex-vertical-container">
<h5 style="margin: 10px;">Сюда положить JSON байткода</h5>
<textarea id="bc-json-area" class="user-input-area" style="flex-grow: 1;"></textarea>
</div>
</div>
</div>
<div class="mdl-grid">
<div class=" demo-card-image mdl-card mdl-cell cellFour-cell mdl-cell--4-col mdl-shadow--3dp">
<!-- <div class="mdl-card__title">
<h2 class="mdl-card__title-text">Hot Cakes</h2>
</div> -->
<!-- <div class="mdl-card__supporting-text">
Cake dragée macaroon pudding. Brownie gummies halvah dragée candy liquorice cotton candy
macaroon candy.
</div> -->
<!-- <div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Hot Cakes
</a>
</div> -->
<div class="mdl-card__title mdl-card--expand">
<div id="env-area-status" class="mdl-card__supporting-text"></div>
</div>
<div class="mdl-card__actions">
<span class="demo-card-image__filename">Тут будут ошибки в описании окружения</span>
</div>
</div>
<div class="mdl-cell cellFive-cell mdl-cell--4-col mdl-shadow--3dp">
<!-- <div class="mdl-card__title">
Options
</div> -->
<h5 style="margin: 10px;">Результат исполнения ниже</h5>
<div id="lama-program-output" style="margin: 10px;"></div>
<hr />
<h5 style="margin: 10px;">JSON представление программы</h5>
<pre id="src-json-area" class="user-input-area"></pre>
<!--
<ul class="demo-list-icon mdl-list">
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-1"> Groovy ?
<input type="checkbox" id="switch-1" class="mdl-switch__input" checked>
</label>
</span>
</li>
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="checkbox-1">
<input type="checkbox" id="checkbox-1" class="mdl-checkbox__input" checked>
<span class="mdl-checkbox__label">Jazzy ?</span>
</label>
</span>
</li>
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-2">
Funky ?
<input type="checkbox" id="switch-2" class="mdl-switch__input">
<span class="mdl-switch__label"></span>
</label>
</li>
</ul> -->
</div>
<div class=" demo-card-image mdl-card mdl-cell cellSix-cell mdl-cell--4-col mdl-shadow--3dp">
<div class="mdl-card__title mdl-card--expand">
<pre id="bc-program-ouput" />
</div>
<div class="mdl-card__actions">
<span class="demo-card-image__filename">Результат исполнения байткода будет выше</span>
</div>
</div>
</div>
</main>
<!--
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<div class="mdl-logo">
More Information
</div>
<ul class="mdl-mini-footer__link-list">
<li><a href="#">Help</a></li>
<li><a href="#">Privacy and Terms</a></li>
<li><a href="#">User Agreement</a></li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<button
class="mdl-mini-footer__social-btn mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored">
<i class="material-icons">build</i>
</button>
<button
class="mdl-mini-footer__social-btn mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored">
<i class="material-icons">feedback</i>
</button>
<button
class="mdl-mini-footer__social-btn mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored">
<i class="material-icons">grade</i>
</button>
</div>
</footer> -->
</div>
<div id="demo-snackbar-example" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<script src="client.bc.js"></script>
</body>
</html>