-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathindex.html
398 lines (373 loc) · 17.3 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
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
390
391
392
393
394
395
396
397
398
<!DOCTYPE html>
<html lang="pt_BR">
<head>
<meta charset="utf8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
<title>BIRL - Bambam's "It's show time" Recursive Language</title>
<meta prefix="og: http://ogp.me/ns#" property='og:title' content="BIRL - Bambam's 'It's show time' Recursive Language" />
<meta prefix="og: http://ogp.me/ns#" property='og:type' content='website' />
<meta prefix="og: http://ogp.me/ns#" property='og:description'
content='Vem cumpade! Sai de casa codei pra caralho! BIRL!' />
<meta prefix="og: http://ogp.me/ns#" property='og:site_name' content='BIRL' />
<meta property="og:url" content="https://birl-language.github.io" />
<meta property="og:type" content="website" />
<meta property="og:title" content="BIRL - Bambam's 'It's show time' Recursive Language" />
<meta property="og:description" content="Vem cumpade! Sai de casa codei pra caralho! BIRL!" />
<meta property="og:image" content="https://birl-language.github.io/images/birl2.png" />
<meta property="fb:admins" content="100002158398392"/>
<meta property="fb:admins" content="100002144931535"/>
<!-- core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/owl.carousel.css" rel="stylesheet">
<link href="css/owl.transitions.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
<link href="css/pictonic.css" rel="stylesheet">
<link href="css/newicons.css" rel="stylesheet">
<link href="css/flex-calendar.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<link rel="shortcut icon" href="images/favicon.ico">
</head>
<body id="home" class="homepage" ng-app="birlWeb">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6&appId=362013387327951";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<section id="upcoming" ng-controller="birlCtrl">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-sm-offset-3 center-wrap">
<div class="center-inner">
<img src="images/birl2.png" class="center-img">
</div>
</div>
</div>
<div class="section-header">
<h2 class="section-title text-center">BIRL</h2>
<p class="text-center birl-text">
O BIRL <span class="italic">(<span class="red">B</span>ambam's "<span class="red">I</span>t's show time" <span class="red">R</span>ecursive <span class="red">L</span>anguage)</span> é a linguagem de programação mais treze já inventada. <br><span class="highlight">Deve ser utilizada apenas por quem realmente constrói fibra e não é água com código. É uma linguagem extremamente simples porém com poder para derrubar todas as árvores do parque Ibirapuera. </span><br>Programando em BIRL, é verão o ano todo!
</p>
</div>
<div class="row console">
<div class="col-xs-12 col-sm-6 nopadding">
<div class="editor" ui-ace="{useWrapMode : true,showGutter: true,theme:'monokai',mode: 'birl'}" ng-model="code">
</div>
</div>
<div class="col-xs-12 col-sm-6 nopadding">
<div class="title title-right">
Entrada
</div>
<div class="entrance">
<textarea ng-model="stdin" placeholder="..."></textarea>
</div>
<div class="title">
<button class="btn btn-danger btn-large" ng-click="sendBirl()" ng-disabled="disabled">{{btText}}</button>
</div>
<div class="title">
Saída
</div>
<div class="exit" ng-class="{'error' : temErro}">
{{stdout}}
</div>
<div class="title bottom">
<a class="btn btn-danger btn-large" ng-href="{{ fileUrl }}" download="codigo.birl"><span class="fa fa-cloud-download"></span> Tirar da Jaula</a>
</div>
</div>
</div>
<div class="fb-like" data-href="https://birl-language.github.io" data-width="800" data-layout="button_count" data-action="like" data-size="large" data-show-faces="true" data-share="true"></div>
</section><!--HOME-->
<section id="about">
<div class="container">
<div class="section-header">
<h2 class="section-title text-center wow fadeInDown">CONSTRUINDO FIBRA</h2>
<p class="text-center wow fadeInDown">
</p>
</div>
<div class="row">
<div class="col-xs-12 tutorial-out">
<div class="tutorial-box">
<h3>Início do código</h3>
<div class="code">
<p>
<span class="red">HORA DO SHOW</span>
<br>
<span class="comment">//código aqui</span>
<br>
<span class="red">BIRL</span>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Tipos de dados</h3>
<div class="code">
<p>
<span class="red">FRANGO</span> FR = 'a'; <i>(char)</i><br>
<span class="red">MONSTRINHO</span> M1 = 13; <i>(short)</i><br>
<span class="red">MONSTRO</span> M2 = 37; <i>(int)</i><br>
<span class="red">MONSTRAO</span> M3 = 666; <i>(long)</i><br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Tipos de dados</h3>
<div class="code">
<p>
<span class="red">TRAPEZIO</span> T = 0.13; <i>(float)</i><br>
<span class="red">TRAPEZIO DESCENDENTE</span> TD = 0.37; <i>(double)</i><br>
<span class="red">BICEPS</span> FRANGO BF = 200; <i>(unsigned)</i><br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Printar na tela</h3>
<div class="code">
<p>
<br>
<span class="red">CE QUER VER ESSA PORRA?</span> ("Hello, Mutante")<span class="red">;</span>
<br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Ler da tela</h3>
<div class="code">
<p>
MONSTRO X;<br>
<span class="red">QUE QUE CE QUER MONSTRAO?</span> ("%d", &X)<span class="red">;</span>
<br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>If</h3>
<div class="code">
<p>
<br>
<span class="red">ELE QUE A GENTE QUER?</span> (3 > 2)<br>
<span class="comment">//código a ser executado</span><br>
<span class="red">BIRL</span>
<br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>If/Else</h3>
<div class="code">
<p>
<span class="red">ELE QUE A GENTE QUER?</span> (X > 2)<br>
<span class="comment">//caso verdadeiro</span><br>
<span class="red">NAO VAI DAR NAO</span><br>
<span class="comment">//caso falso</span><br>
<span class="red">BIRL</span>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Else if</h3>
<div class="code">
<p>
<span class="red">ELE QUE A GENTE QUER?</span> (X > 2)<br>
<span class="comment">//X > 2</span><br>
<span class="red">QUE NAO VAI DAR O QUE?</span> (X < 2)<br>
<span class="comment">//X < 2</span><br>
<span class="red">NAO VAI DAR NAO</span><br>
<span class="comment">//X = 2</span><br>
<span class="red">BIRL</span>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>While</h3>
<div class="code">
<p>
<br>
MONSTRO X = 5;<br>
<span class="red">NEGATIVA BAMBAM</span> (X > 2)<br>
<span class="comment">//rodar código</span><br>
<span class="comment"></span>X--;<br>
<span class="red">BIRL</span>
<br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>For</h3>
<div class="code">
<p>
<br>
<br>
MONSTRO M;<br>
<span class="red">MAIS QUERO MAIS</span> (M = 0; M < 5; M++)<br>
<span class="comment"></span>CE QUER VER ESSA PORRA? ("%d", M);<br>
<span class="red">BIRL</span>
<br>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Break/Continue</h3>
<div class="code">
<p>
MONSTRO M;<br>
<span class="red">MAIS QUERO MAIS</span> (M = 0; M < 5; M++)<br>
<span class="comment">//continue</span><br>
<span class="comment"></span><span class="red">VAMO MONSTRO;</span><br>
<span class="comment">//break</span><br>
<span class="comment"></span><span class="red">SAI FILHO DA PUTA;</span><br>
<span class="red">BIRL</span>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Declarar função</h3>
<div class="code">
<p>
<span class="red">OH O HOME AI PO</span> (MONSTRO NOMEFUNC(MONSTRO A, MONSTRO B))<br>
<span class="comment">//código da função</span><br>
<span class="comment"></span><span class="red">BORA CUMPADE</span> 1<span class="red">;</span><br>
<span class="red">BIRL</span>
<br>
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-out">
<div class="tutorial-box">
<h3>Chamar função</h3>
<div class="code">
<p>
MONSTRO A = 5; <br>
MONSTRO B = 8; <br>
MONSTRO C = <span class="red">AJUDA O MALUCO TA DOENTE</span> SOMAR(A, B);<br>
<br>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="section-header bottom-header">
<h2 class="section-title text-center wow fadeInDown"></h2>
<p class="text-center wow fadeInDown">
É isso ai galera do BIRL! Estamos finalizando o tutorial, acho que deu pra vocês pegarem hoje bastante informação.
</p>
<p class="text-center wow fadeInDown red">
Quer colaborar com o BIRL? Aumentar a linguagem? Vem cumpade! Acesse o repositório mais bodybuilder do GitHub: <a href="https://github.com/BIRL-Language/">BIRL</a>
</p>
</div>
</section>
<section id="operation">
<div class="container">
<div class="section-header">
<h2 class="section-title text-center wow fadeInDown">Exemplo Descendente</h2>
<p class="text-center wow fadeInDown">
Sai de casa codei pra caralho! Veja como programar em BIRL é treze memo com esse somador:
</p>
</div>
<div class="row example">
<div class="col-xs-12 col-sm-offset-3 col-sm-6 code code-right">
<span class="red">OH O HOME AI PO</span> (MONSTRO SOMAR(MONSTRO A, MONSTRO B))<br>
<span class="teal">BORA CUMPADE</span> A + B;<br>
<span class="red">BIRL</span><br><br>
<span class="red">HORA DO SHOW</span><br>
MONSTRO A, B, RES;<br>
<span class="purple">CE QUER VER ESSA PORRA?</span> ("Entra com a e b ai cumpade!!\n");<br>
<span class="purple">QUE QUE CE QUER MONSTRAO?</span> ("%d %d", &A, &B);<br>
RES = <span class="red">AJUDA O MALUCO TA DOENTE</span> SOMAR(A, B);<br>
<span class="purple">CE QUER VER ESSA PORRA?</span> ("Oh o resultado ai po: %d\n", RES);<br>
<span class="teal">ELE QUE A GENTE QUER?</span> (RES == 37)<br>
<span class="purple">CE QUER VER ESSA PORRA?</span> ("É 37 anos caralho!\n");<br>
<span class="teal">NAO VAI DAR NAO</span><br>
<span class="purple">CE QUER VER ESSA PORRA?</span> ("Manda o double biceps!\n");<br>
<span class="teal">BIRL</span><br>
<span class="teal">BORA CUMPADE</span> 0;<br>
<span class="red">BIRL</span><br>
</div>
</div>
</div>
</section>
<section id="about">
<div class="container fb-container">
<div class="section-header">
<h2 class="section-title text-center wow fadeInDown">Galera do Canal</h2>
<p class="text-center wow fadeInDown">
Deixe seu comentário sobre esta linguagem descendente maravilhosa:
</p>
</div>
<div class="fb-comments" data-href="https://birl-language.github.io" data-width="600" data-numposts="5"></div>
</div>
</section>
<footer id="footer">
<div id="footer_inside">
<div class="container">
<div class="row">
<div class="col-xs-10">
© 2016 Padilha Monster & RCzera
</div>
<div class="col-xs-2">
<ul class="social-icons pull-right">
<li>
<a href="https://github.com/BIRL-Language/">
<i class="fa fa-github"></i>
</a>
</li>
v1.3
</ul>
</div>
</div>
</div>
</div>
</footer>
<script src="js/angular.min.js"></script>
<script src="js/angular/controllers.js"></script>
<script src="src/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ui-ace.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>