p-lang 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. data/README.rdoc +21 -2
  2. data/Rakefile +1 -1
  3. data/VERSION.yml +1 -1
  4. metadata +4 -4
data/README.rdoc CHANGED
@@ -1,6 +1,25 @@
1
- = p-lang
1
+ = P-Lang
2
2
 
3
- Description goes here.
3
+ P is a small ('pequena' in portuguese) functional programming language.
4
+
5
+ fib = [1| 1],
6
+ [2| 2],
7
+ [n| fib(n-1) + fib(n-2)]
8
+
9
+ fib(10)
10
+
11
+ == Requirements
12
+
13
+ * Ruby
14
+ * Treetop
15
+
16
+ == Install
17
+
18
+ $ sudo install p-lang
19
+
20
+ == Running
21
+
22
+ $ p-lang your-program.p
4
23
 
5
24
  == Note on Patches/Pull Requests
6
25
 
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ begin
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "p-lang"
8
8
  gem.summary = %Q{P programming language}
9
- gem.description = %Q{P programming language}
9
+ gem.description = %Q{P is a small ('pequena' in portuguese) functional programming language.}
10
10
  gem.email = "igorbonadio@gmail.com"
11
11
  gem.homepage = "http://github.com/igorbonadio/p-lang"
12
12
  gem.authors = ["Igor Bonadio"]
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 2
3
3
  :build:
4
4
  :major: 0
5
5
  :minor: 0
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p-lang
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Bonadio
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: "0"
47
47
  type: :development
48
48
  version_requirements: *id002
49
- description: P programming language
49
+ description: P is a small ('pequena' in portuguese) functional programming language.
50
50
  email: igorbonadio@gmail.com
51
51
  executables:
52
52
  - p-lang