schaefer 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/.DS_Store CHANGED
Binary file
Binary file
@@ -0,0 +1,13 @@
1
+ (define ^
2
+ (native_function "
3
+ Proc.new do |arguments, interpreter|
4
+ if arguments.count != 2
5
+ raise 'Power function takes 2 arguments'
6
+ else
7
+ arg1 = interpreter.evaluate(arguments[0])
8
+ arg2 = interpreter.evaluate(arguments[1])
9
+ arg1**arg2
10
+ end
11
+ end
12
+ "))
13
+
@@ -1,3 +1,3 @@
1
1
  module Schaefer
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schaefer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tommy Schaefer
@@ -56,6 +56,7 @@ files:
56
56
  - lib/schaefer/Library/do.sch
57
57
  - lib/schaefer/Library/each.sch
58
58
  - lib/schaefer/Library/equalTo.sch
59
+ - lib/schaefer/Library/expOp.sch
59
60
  - lib/schaefer/Library/first.sch
60
61
  - lib/schaefer/Library/function.sch
61
62
  - lib/schaefer/Library/if.sch