petooh 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -3
- data/gen/{PETOOH.md → PETOOH_language.md} +0 -0
- data/gen/README +52 -0
- data/gen/lib/petooh.rb +2 -1
- metadata +8 -4
data/README.md
CHANGED
@@ -9,8 +9,9 @@ PETOOH interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://git
|
|
9
9
|
### BUILD
|
10
10
|
|
11
11
|
First, you need to install:
|
12
|
-
|
13
|
-
|
12
|
+
|
13
|
+
- [Rake](http://docs.seattlerb.org/rake/). Usually it comes with Ruby, but if it isn't then you may install it with the command `gem install rake`.
|
14
|
+
- [GPL](https://github.com/LavirtheWhiolet/self-bootstrap). Just download ["peg2rb.rb"](https://github.com/LavirtheWhiolet/self-bootstrap/blob/master/peg2rb.rb) into this directory and you are ready.
|
14
15
|
|
15
16
|
To (re-)build PETOOH interpreter as a standalone Ruby script you give the command:
|
16
17
|
|
@@ -47,4 +48,5 @@ Or, if you have installed the interpreter as a Ruby gem:
|
|
47
48
|
~$ petooh [options] file
|
48
49
|
|
49
50
|
Options:
|
50
|
-
|
51
|
+
|
52
|
+
- `-h` - Get some help.
|
File without changes
|
data/gen/README
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
### DESCRIPTION
|
2
|
+
|
3
|
+
PETOOH interpreter written in [Ruby](http://ruby-lang.org) and [GPL](https://github.com/LavirtheWhiolet/self-bootstrap).
|
4
|
+
|
5
|
+
### DEPENDS
|
6
|
+
|
7
|
+
[Ruby](http://ruby-lang.org) 1.9.3 or higer.
|
8
|
+
|
9
|
+
### BUILD
|
10
|
+
|
11
|
+
First, you need to install:
|
12
|
+
|
13
|
+
- [Rake](http://docs.seattlerb.org/rake/). Usually it comes with Ruby, but if it isn't then you may install it with the command `gem install rake`.
|
14
|
+
- [GPL](https://github.com/LavirtheWhiolet/self-bootstrap). Just download ["peg2rb.rb"](https://github.com/LavirtheWhiolet/self-bootstrap/blob/master/peg2rb.rb) into this directory and you are ready.
|
15
|
+
|
16
|
+
To (re-)build PETOOH interpreter as a standalone Ruby script you give the command:
|
17
|
+
|
18
|
+
rake petooh.rb
|
19
|
+
|
20
|
+
To build a Ruby gem you give the command:
|
21
|
+
|
22
|
+
rake gem
|
23
|
+
|
24
|
+
To build everything in this package you just give the command:
|
25
|
+
|
26
|
+
rake
|
27
|
+
|
28
|
+
To clean up your directory give the command:
|
29
|
+
|
30
|
+
rake clean
|
31
|
+
|
32
|
+
### INSTALL
|
33
|
+
|
34
|
+
Copy "petooh.rb" to some directory.
|
35
|
+
|
36
|
+
Or install the corresponding Ruby gem by giving the command:
|
37
|
+
|
38
|
+
gem install petooh
|
39
|
+
|
40
|
+
### USAGE
|
41
|
+
|
42
|
+
To run:
|
43
|
+
|
44
|
+
~$ ruby petooh.rb [options] file
|
45
|
+
|
46
|
+
Or, if you have installed the interpreter as a Ruby gem:
|
47
|
+
|
48
|
+
~$ petooh [options] file
|
49
|
+
|
50
|
+
Options:
|
51
|
+
|
52
|
+
- `-h` - Get some help.
|
data/gen/lib/petooh.rb
CHANGED
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.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -23,19 +23,23 @@ executables:
|
|
23
23
|
extensions: []
|
24
24
|
extra_rdoc_files:
|
25
25
|
- README.md
|
26
|
-
- gen/
|
26
|
+
- gen/README
|
27
|
+
- gen/PETOOH_language.md
|
27
28
|
- gen/LICENSE
|
28
29
|
files:
|
29
30
|
- gen/lib/petooh.rb
|
30
31
|
- README.md
|
31
|
-
- gen/
|
32
|
+
- gen/README
|
33
|
+
- gen/PETOOH_language.md
|
32
34
|
- gen/LICENSE
|
33
35
|
- bin/petooh
|
34
36
|
homepage: http://ky6uk.github.io/PETOOH/
|
35
37
|
licenses:
|
36
38
|
- The MIT License (MIT)
|
37
39
|
post_install_message:
|
38
|
-
rdoc_options:
|
40
|
+
rdoc_options:
|
41
|
+
- --main
|
42
|
+
- gen/README
|
39
43
|
require_paths:
|
40
44
|
- lib
|
41
45
|
- gen/lib
|