brainfuck-extended 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/main.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f27f2e7aea05a41938d8b6b4e253816587ff69ff32e00c7eca92f048bdea8bbd
|
4
|
+
data.tar.gz: 7e7f3b9d0e38a25e7209df3855adc51aa02c5588bb5535988657b29dfbc0ebb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca70f2cce9da32e56ab4baef60997e16528f1492394bb18eb7ba03f1bef25edcaa1e570af568e072688f4066b3674823ec1dc189560d1ebdaa7512c4bcfe619e
|
7
|
+
data.tar.gz: 71935aec5ce990b3a535472b14278f05a2f8f3f7d4898b53ab15346f420d798ad888b0b306592be14f448446dfea8336b43e9ff7fa45ad952d13ffacd83857f6
|
data/main.rb
CHANGED
@@ -132,7 +132,7 @@ until index >= script.length
|
|
132
132
|
$stdout.print field[cursor_y][cursor_x].chr
|
133
133
|
end
|
134
134
|
when ","
|
135
|
-
field[cursor_y][cursor_x] = $stdin.getch
|
135
|
+
field[cursor_y][cursor_x] = $stdin.getch.ord
|
136
136
|
when "["
|
137
137
|
if field[cursor_y][cursor_x] != 0
|
138
138
|
brackets << index
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brainfuck-extended
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sevenc-nanashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|