petooh 6.0.2 → 6.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +0 -1
- data/README.md +1 -1
- data/gen/README +1 -1
- data/gen/lib/petooh.rb +2 -6
- metadata +2 -5
- data/gen/PETOOH_language.md +0 -49
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### DESCRIPTION
|
2
2
|
|
3
|
-
PETOOH interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://github.com/LavirtheWhiolet/self-bootstrap).
|
3
|
+
[PETOOH](https://github.com/Ky6uk/PETOOH) interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://github.com/LavirtheWhiolet/self-bootstrap).
|
4
4
|
|
5
5
|
### DEPENDS
|
6
6
|
|
data/gen/README
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### DESCRIPTION
|
2
2
|
|
3
|
-
PETOOH interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://github.com/LavirtheWhiolet/self-bootstrap).
|
3
|
+
[PETOOH](https://github.com/Ky6uk/PETOOH) interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://github.com/LavirtheWhiolet/self-bootstrap).
|
4
4
|
|
5
5
|
### DEPENDS
|
6
6
|
|
data/gen/lib/petooh.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
|
3
|
-
# Generated from "lib/petooh.peg" on 2015-09-20
|
3
|
+
# Generated from "lib/petooh.peg" on 2015-09-20 02:31:43 +0500
|
4
4
|
|
5
5
|
#
|
6
6
|
module PETOOH
|
@@ -110,8 +110,6 @@ module PETOOH
|
|
110
110
|
|
111
111
|
private
|
112
112
|
|
113
|
-
# Generated by Generator of Parsers of Lavir AKA self-bootstrap.
|
114
|
-
|
115
113
|
|
116
114
|
|
117
115
|
#
|
@@ -369,8 +367,6 @@ module PETOOH
|
|
369
367
|
val = nil
|
370
368
|
yy_char(yy_context) and yy_to_pcv(val)
|
371
369
|
end
|
372
|
-
|
373
|
-
# End of generated code.
|
374
|
-
|
370
|
+
|
375
371
|
end
|
376
372
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: petooh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -22,17 +22,14 @@ executables:
|
|
22
22
|
- petooh
|
23
23
|
extensions: []
|
24
24
|
extra_rdoc_files:
|
25
|
-
- README.md
|
26
25
|
- gen/README
|
27
|
-
- gen/PETOOH_language.md
|
28
26
|
- gen/LICENSE
|
29
27
|
files:
|
30
28
|
- gen/lib/petooh.rb
|
31
|
-
- .yardopts
|
32
29
|
- README.md
|
33
30
|
- gen/README
|
34
|
-
- gen/PETOOH_language.md
|
35
31
|
- gen/LICENSE
|
32
|
+
- .yardopts
|
36
33
|
- bin/petooh
|
37
34
|
homepage: http://ky6uk.github.io/PETOOH/
|
38
35
|
licenses:
|
data/gen/PETOOH_language.md
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
PETOOH – a fundamentally new programming language
|
2
|
-
==================================================
|
3
|
-
|
4
|
-
Basics
|
5
|
-
------
|
6
|
-
|
7
|
-
<table>
|
8
|
-
<tr>
|
9
|
-
<td>Kudah</td>
|
10
|
-
<td>increment the data pointer (to point to the next cell to the right)</td>
|
11
|
-
</tr>
|
12
|
-
<tr>
|
13
|
-
<td>kudah</td>
|
14
|
-
<td>decrement the data pointer (to point to the next cell to the left)</td>
|
15
|
-
</tr>
|
16
|
-
<tr>
|
17
|
-
<td>Ko</td>
|
18
|
-
<td>increment (increase by one) the byte at the data pointer</td>
|
19
|
-
</tr>
|
20
|
-
<tr>
|
21
|
-
<td>kO</td>
|
22
|
-
<td>decrement (decrease by one) the byte at the data pointer</td>
|
23
|
-
</tr>
|
24
|
-
<tr>
|
25
|
-
<td>Kukarek</td>
|
26
|
-
<td>output the byte at the data pointer as an ASCII encoded character</td>
|
27
|
-
</tr>
|
28
|
-
<tr>
|
29
|
-
<td>Kud</td>
|
30
|
-
<td>if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command</td>
|
31
|
-
</tr>
|
32
|
-
<tr>
|
33
|
-
<td>kud</td>
|
34
|
-
<td>if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command</td>
|
35
|
-
</tr>
|
36
|
-
</table>
|
37
|
-
|
38
|
-
Code sample
|
39
|
-
-----------
|
40
|
-
|
41
|
-
KoKoKoKoKoKoKoKoKoKo Kud-Kudah
|
42
|
-
KoKoKoKoKoKoKoKo kudah kO kud-Kudah Kukarek kudah
|
43
|
-
KoKoKo Kud-Kudah
|
44
|
-
kOkOkOkO kudah kO kud-Kudah Ko Kukarek kudah
|
45
|
-
KoKoKoKo Kud-Kudah KoKoKoKo kudah kO kud-Kudah kO Kukarek
|
46
|
-
kOkOkOkOkO Kukarek Kukarek kOkOkOkOkOkOkO
|
47
|
-
Kukarek
|
48
|
-
|
49
|
-
[Try now!](http://ky6uk.github.io/PETOOH/)
|