-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex-april-fool.html
145 lines (135 loc) · 5.24 KB
/
index-april-fool.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
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
<!DOCTYPE html>
<html lang="jp">
<head>
<title>UMA Language Interpreter|うま言語用のオンライン実行環境</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/styles.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120056704-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-120056704-1");
</script>
<!-- for icon font -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous" />
<!-- for model javascript -->
<script src="js/ubf.js"></script>
</head>
<body>
<nav class="navbar navbar-expand navbar-dark bg-dark">
<a class="navbar-brand" href="#">UMA Language Interpreter</a>
</nav>
<div class="jumbotron text-center uma">
<h1>UMA Language Interpreter</h1>
<h4 class="text-muted">はいはいはいはいはいはいはいはい</h4>
</div>
<div class="container">
<div class="row">
<div class="col-md-4">
<h3>Uma言語仕様</h3>
<p>ばあちゃるくんの名言を命令にする。それ以外の文字は無視する。</p>
<table class="table table-hover table-sm">
<thead>
<tr>
<th scope="col">命令</th>
<th scope="col">役割</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">フゥゥゥゥ</th>
<td>ポインタを1進める</td>
</tr>
<tr>
<th scope="row">ハイ</th>
<td>ポインタの指す要素の値を1増やす。</td>
</tr>
<tr>
<th scope="row">わきゅ</th>
<td>ポインタを1戻す。</td>
</tr>
<tr>
<th scope="row">🐴</th>
<td>ポインタの指す要素の値を1減らす。</td>
</tr>
<tr>
<th scope="row">世界初男性youtuberのばあちゃるです!</th>
<td>
ポインタの指す要素の値が"0"だったら対応する次の"ばあちゃるくん"までジャンプ。
</td>
</tr>
<tr>
<th scope="row">ばあちゃるくん</th>
<td>対応する前の "世界初男性youtuberのばあちゃるです!" までジャンプ。</td>
</tr>
<tr>
<th scope="row">えぐー!</th>
<td>ポインタの指す要素の値を外に出力。</td>
</tr>
<tr>
<th scope="row">ウビバ</th>
<td>外から値を入力して、ポインタの指す場所へ入れる。</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-8">
<h3>Interpreter</h3>
<div class="form-group">
<label for="source">プログラム</label>
<textarea class="form-control" rows="15" id="source"></textarea>
</div>
<div class="clearfix">
<a class="btn btn-primary float-right m-1 px-5" href="javascript:void(0)" onclick="run()">実行</a>
<a class="btn btn-success float-right m-1 px-5" href="javascript:void(0)" onclick="sampleCode()">サンプルコード</a>
</div>
<p>実行結果</p>
<div class="card card-body bg-light">
<pre id="out"></pre>
</div>
</div>
</div>
</div>
<footer class="page-footer font-small bg-dark mt-4">
<div class="text-center pt-3">
<ul class="list-inline">
<li class="list-inline-item">
<a class="text-muted" href="https://qiita.com/benisho_ga/items/50e674fded183a9e12f1">
About SIRO-lang
</a>
</li>
<li class="list-inline-item">
<a class="text-muted" href="https://twitter.com/app1e_s">
Contact
</a>
</li>
<li class="list-inline-item">
<a class="text-muted"
href="https://twitter.com/intent/tweet?text=シロ組さん専用のプログラミング言語「siro」オンラインインタープリター&url=https://yameholo.github.io/SiroLangInterpreter">
Share
</a>
</li>
<li class="list-inline-item">
<a class="text-muted" href="https://github.com/yameholo/SiroLangInterpreter">
GitHub
</a>
</li>
</ul>
</div>
<div class="footer-copyright text-center pb-2 text-muted">
© 2020
<a href="https://twitter.com/app1e_s">meiehi</a>
</div>
</footer>
</body>
</html>