nendo 0.6.7 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bcb8ea5cb0874720bb6b4b39a5651e7848580d9
4
- data.tar.gz: 900a2e9af0b6987a36a8d17773140a4b01e890d4
3
+ metadata.gz: 52fb34bae2c7e139b4c7c4e588691c4e8f50710c
4
+ data.tar.gz: 91d2520addf241347ce2d8cac4ed0d7a0a800f88
5
5
  SHA512:
6
- metadata.gz: 609a4d62c959aa142a0ace769aeaf9b3776808aa5ad0b3398cafad7ed1c426c3ecebf8e7604891d50b519a11f3d21be1920e52402d2ebe57052a35c2e9d91c60
7
- data.tar.gz: 259f4e4141cd781bf8b3b0433d01a70f786f563b8f85c03b046796b6d87628f5d38cc40f5cba762072404b2957ff1ea5cff399b7c7154d480c0f8a67b83dc6ef
6
+ metadata.gz: 7e2ebca8704036e2440a2527988044a523a194a9aa17cc79c2b40af5888af74f58f6e071a14a5c64bb83fbefd6642603459d4e5d523448a0773c786ea415f315
7
+ data.tar.gz: 5ac568cdf1e22ffc86945bd2f5d76f9dd2828216622a5f4c6bf16c2950a8ffaefb83c676c0497dc0946d3b07e073e00e290355be8aa821246ab2a814d4afeba1
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+
2
+ See: http://oldtype.sumibi.org/show-page/Nendo.ReleaseNote
3
+
4
+
1
5
  === 0.6.4 / 2012-02-24
2
6
 
3
7
  * Added debug.null library for inhibiting to display debug message.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 6
4
- :patch: 7
4
+ :patch: 8
@@ -276,7 +276,7 @@ module Nendo
276
276
  (0..num-1).to_a.to_list
277
277
  end
278
278
  end
279
- def __EQMARK( a,b ) a == b end
279
+ def __EQMARK( a,b ) _eq_QUMARK( a, b ) end
280
280
  def __GTMARK( a,b ) a > b end
281
281
  def __GTMARK_EQMARK( a,b ) a >= b end
282
282
  def __LTMARK( a,b ) a < b end
@@ -42,7 +42,7 @@ module Nendo
42
42
  end
43
43
 
44
44
  def self.version
45
- "0.6.7" ##NENDO-VERSION
45
+ "0.6.8" ##NENDO-VERSION
46
46
  end
47
47
 
48
48
  attr_reader :evaluator
data/test/nendo_spec.rb CHANGED
@@ -270,6 +270,19 @@ describe Nendo, "when call evalStr() with comparative operators" do
270
270
  @nendo.evalStr( " (eq? 'a-b 'a-b) " ).should == "#t"
271
271
  @nendo.evalStr( " (eq? 'a_b 'a-b) " ).should == "#f"
272
272
  @nendo.evalStr( " (eq? 'a-b 'a_b) " ).should == "#f"
273
+ @nendo.evalStr( " (eq? 'a-b (intern \"a-b\")) " ).should == "#t"
274
+ @nendo.evalStr( " (eq? 'a_b (intern \"a-b\")) " ).should == "#f"
275
+ @nendo.evalStr( " (eq? 'a-b (intern \"a_b\")) " ).should == "#f"
276
+ @nendo.evalStr( " (= 1 1) " ).should == "#t"
277
+ @nendo.evalStr( " (= 1 2) " ).should == "#f"
278
+ @nendo.evalStr( " (= 'a 'a) " ).should == "#t"
279
+ @nendo.evalStr( " (= 'b 'b) " ).should == "#t"
280
+ @nendo.evalStr( " (= 'a-b 'a-b) " ).should == "#t"
281
+ @nendo.evalStr( " (= 'a_b 'a-b) " ).should == "#f"
282
+ @nendo.evalStr( " (= 'a-b 'a_b) " ).should == "#f"
283
+ @nendo.evalStr( " (= 'a-b (intern \"a-b\")) " ).should == "#t"
284
+ @nendo.evalStr( " (= 'a_b (intern \"a-b\")) " ).should == "#f"
285
+ @nendo.evalStr( " (= 'a-b (intern \"a_b\")) " ).should == "#f"
273
286
  @nendo.evalStr( " (< 1 1) " ).should == "#f"
274
287
  @nendo.evalStr( " (< 1 2) " ).should == "#t"
275
288
  @nendo.evalStr( " (> 1 1) " ).should == "#f"
data/test/nendo_spec_2.rb CHANGED
@@ -408,6 +408,8 @@ describe Nendo, "when call evalStr() with built-in functions" do
408
408
  @nendo.evalStr( ' (read-from-string "1") ' ).should == '1'
409
409
  @nendo.evalStr( ' (read-from-string "(+ 1 2)") ' ).should == '(+ 1 2)'
410
410
  @nendo.evalStr( ' (read-from-string "(\"Aa\" \"Bb\" \"Cc\")") ' ).should == '("Aa" "Bb" "Cc")'
411
+ @nendo.evalStr( ' (eq? \'Aa (car (read-from-string "(Aa Bb Cc)"))) ' ).should == '#t'
412
+ @nendo.evalStr( ' (= \'Aa (car (read-from-string "(Aa Bb Cc)"))) ' ).should == '#t'
411
413
  lambda { @nendo.evalStr( ' (read-from-string 100) ' ) }.should raise_error(TypeError)
412
414
  @nendo.evalStr( ' (write-to-string 1) ' ).should == '"1"'
413
415
  @nendo.evalStr( ' (write-to-string \'(+ 1 2)) ' ).should == '"(+ 1 2)"'
@@ -1815,6 +1817,11 @@ describe Nendo, "when use keyword feature " do
1815
1817
  @nendo.evalStr( " (eqv? :a :a) " ).should == "#t"
1816
1818
  @nendo.evalStr( ' (eq? :a (intern ":a")) ' ).should == "#f"
1817
1819
  @nendo.evalStr( ' (eqv? :a (intern ":a")) ' ).should == "#f"
1820
+ @nendo.evalStr( ' (eq? :a (intern "a")) ' ).should == "#f"
1821
+ @nendo.evalStr( ' (eqv? :a (intern "a")) ' ).should == "#f"
1822
+ @nendo.evalStr( " (= :a :a) " ).should == "#t"
1823
+ @nendo.evalStr( ' (= :a (intern ":a")) ' ).should == "#f"
1824
+ @nendo.evalStr( ' (= :a (intern "a")) ' ).should == "#f"
1818
1825
  @nendo.evalStr( ' (keyword? (make-keyword "a")) ' ).should == "#t"
1819
1826
  @nendo.evalStr( " :a " ).should == ":a"
1820
1827
  @nendo.evalStr( " ::a " ).should == "::a"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nendo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kiyoka Nishiyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Nendo is a programming language written in Ruby.
14
14
  email: kiyoka@sumibi.org