my_precious 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -2
- data/lib/my_precious/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0445ec1e16cea8658649665242039fe591744528f26640098f9dc5bd36c2deb9
|
4
|
+
data.tar.gz: efa2e70a939a30c7cf1c4afe1595b9a3dcab7053e7334619cc640f6279a4df3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc2fb1996e3bc0af29a89ee5ee91e4696b9e4019c3832cb6c724a9893fe273443957a8550c655589407ad87f2beb0bfc9f18d450f8e45d717e33fe186c6e5f3
|
7
|
+
data.tar.gz: 47ccc7c17d5fc5336179d50e6fb928785c168dbe24330155a909d104348553c7b4d0fcd8d8e03198112181b6a114e5541a11e393ae2ab18bc7d7b11d84547d36
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Precious
|
2
2
|
|
3
3
|
I wanted to make a fun programming language so I did it.
|
4
|
-
It's
|
4
|
+
It's mine. My own. My precious... Precious is a LOTR esoteric programming language translator.
|
5
5
|
Precious uses lore keywords and english to create simple programming functionality.
|
6
6
|
|
7
7
|
## Installation
|
@@ -32,13 +32,38 @@ now, in the words of Gandalf the Gray, “All we have to decide is what to do wi
|
|
32
32
|
|
33
33
|
# terminal commands
|
34
34
|
my_precious forge 'filename'
|
35
|
+
|
35
36
|
my_precious bring_forth 'filename' 'output filename'
|
36
37
|
|
38
|
+
my_precious destroy 'filename'
|
39
|
+
|
37
40
|
forge: create an empty .precious file with the specified name that you gave it. You will write you Precious code here.
|
41
|
+
|
38
42
|
bring_forth: 'filename' here is the same file you created with forge which will now be read and interpreted into Ruby code which is then written and outputted to 'output filename'
|
39
43
|
|
40
|
-
|
44
|
+
destroy: 'filename' here refers to any existing file you would like to delete
|
41
45
|
|
46
|
+
```
|
47
|
+
// ♥ my_precious forge middle_earth
|
48
|
+
middle_earth.precious, one file to rule them all
|
49
|
+
[17:27:59] middle_earth
|
50
|
+
// ♥ ls
|
51
|
+
middle_earth.precious
|
52
|
+
[17:28:08] middle_earth
|
53
|
+
// ♥ my_precious bring_forth middle_earth.precious valinor.rb
|
54
|
+
middle_earth.precious has been brought forth. It has been transcribed into valinor.rb
|
55
|
+
[17:28:22] middle_earth
|
56
|
+
// ♥ ls
|
57
|
+
middle_earth.precious valinor.rb
|
58
|
+
[17:28:23] middle_earth
|
59
|
+
// ♥ my_precious destroy middle_earth.precious
|
60
|
+
It's done... It's over now. middle_earth.precious has been destroyed
|
61
|
+
[17:28:44] middle_earth
|
62
|
+
// ♥ ls
|
63
|
+
valinor.rb
|
64
|
+
[17:28:49] middle_earth
|
65
|
+
// ♥
|
66
|
+
```
|
42
67
|
|
43
68
|
# known bugs
|
44
69
|
version 0.2.3 - the last character of the function name will be removed.
|
data/lib/my_precious/version.rb
CHANGED