nendo 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.yml +1 -1
- data/lib/nendo/ruby/builtin_functions.rb +1 -1
- data/lib/nendo/ruby/core.rb +1 -1
- data/lib/nendo/ruby/evaluator.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c87ef7c0ed717f0462bf834a349c56b06752b555
|
4
|
+
data.tar.gz: '00372976a2866d612f04250901e5dff7de318cbd'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190c1e455d1c4552b88a8c003a9364f67b5a0214238551e1d86b0d9c687f8bfa68df1b5ef030c2adde0db95a94a9a69c0782b1e751cfbd02bc79abf6a94a0c9e
|
7
|
+
data.tar.gz: 7c3c61da2b4c79bf4f580d51f0d95a817e2e30fb268e563ea17dbd8210bf85257b341af0751301c3c9e46c6afc55192381b614d579d25e09a523ee2c3b6b1706
|
data/VERSION.yml
CHANGED
@@ -267,7 +267,7 @@ module Nendo
|
|
267
267
|
def _range( num, *args )
|
268
268
|
arr = args[0].to_arr
|
269
269
|
if 0 < arr.length
|
270
|
-
if arr[0].is_a?
|
270
|
+
if arr[0].is_a? Integer
|
271
271
|
(0..num-1).to_a.map { |x| x + arr[0] }.to_list
|
272
272
|
else
|
273
273
|
raise TypeError, "Error range's start expects number."
|
data/lib/nendo/ruby/core.rb
CHANGED
data/lib/nendo/ruby/evaluator.rb
CHANGED
@@ -808,7 +808,7 @@ module Nendo
|
|
808
808
|
sym = sexp.to_s
|
809
809
|
sym = toRubySymbol( sym )
|
810
810
|
lispSymbolReference( sym, locals, nil, sexpArg.sourcefile, sexpArg.lineno )
|
811
|
-
when
|
811
|
+
when 1.class
|
812
812
|
sexp.to_s
|
813
813
|
when String, LispString
|
814
814
|
sprintf( "\"%s\"", LispString.escape( sexp ))
|
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.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kiyoka Nishiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-29 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
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.6.8
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Nendo is a dialect of Lisp.
|