rubymotionlisp 0.1.4 → 0.2.0

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.
@@ -20,7 +20,7 @@ module Lisp
20
20
 
21
21
 
22
22
  def self.vector_impl(args, env)
23
- raise "vector requires a single list argument." unless args.length == 1
23
+ return Lisp::Debug.process_error("vector requires a single list argument.", env) unless args.length == 1
24
24
 
25
25
  c = args.car.evaluate(env)
26
26
  Lisp::Vector.new(c.to_a)
data/lib/rubylisp.rb CHANGED
@@ -1 +1,2 @@
1
+ require 'set'
1
2
  Dir[File.dirname(__FILE__) + '/rubylisp/*.rb'].each {|file| require file }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymotionlisp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Astels
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-06 00:00:00.000000000 Z
11
+ date: 2014-11-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An embeddable Lisp as an extension language for RubyMotion
14
14
  email: dastels@icloud.com
@@ -26,6 +26,7 @@ files:
26
26
  - lib/rubylisp/builtins.rb
27
27
  - lib/rubylisp/character.rb
28
28
  - lib/rubylisp/cons_cell.rb
29
+ - lib/rubylisp/debug.rb
29
30
  - lib/rubylisp/environment_frame.rb
30
31
  - lib/rubylisp/equivalence.rb
31
32
  - lib/rubylisp/exception.rb
@@ -65,12 +66,12 @@ require_paths:
65
66
  - lib
66
67
  required_ruby_version: !ruby/object:Gem::Requirement
67
68
  requirements:
68
- - - '>='
69
+ - - ">="
69
70
  - !ruby/object:Gem::Version
70
71
  version: '0'
71
72
  required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
- - - '>='
74
+ - - ">="
74
75
  - !ruby/object:Gem::Version
75
76
  version: '0'
76
77
  requirements: []
@@ -78,5 +79,5 @@ rubyforge_project:
78
79
  rubygems_version: 2.2.2
79
80
  signing_key:
80
81
  specification_version: 4
81
- summary: Lisp in Ruby
82
+ summary: Lisp in RubyMotion
82
83
  test_files: []