lisp-interpreter 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8869b3aab60a17435e4ab18be3de45ec61d79ab
4
- data.tar.gz: 0d6d5888624fa4fa89f4edd99120d704dcb1d121
3
+ metadata.gz: 6a32a4cd97461f14188bf1b027ad55b064ed893a
4
+ data.tar.gz: 80ead2abacc84ff413669a5805716e814284da36
5
5
  SHA512:
6
- metadata.gz: 811780ecd1e8bb843955215b03c20e90a4af7d6e20d2bae1959e86d776a99d4f1a2b934c078dd37e5c3e5f3e0bea5d7bc0101968bab54707bb1743c9bc58e5b2
7
- data.tar.gz: b30879eabe610feccf252fc20c748a9f310b4ee39f68568002b01fdc33030887617d9747786e64fde1d8ecbb7b1fa4f5ceb83f3082450f9e37c61d6a9d77c7d8
6
+ metadata.gz: 79a95a9317b805b2c45f7620b4327b03bd6a49cb64b803191851610558e76b96c4bb3a81503d9b3771527c05aaad5ab3e6ae3866b2b5eb0be4f9d89aeebf49af
7
+ data.tar.gz: 4240e236f9eddfc406f00fee48ce2d2efc45b1054c06854a7cea9298f828f2c14ec440f5ed69503a96a99235a751480c61d8295ffce8638e03032b95c9481eee
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Lisp::Interpreter
1
+ # Lisp::Interpreter
2
2
  Lisp interpreter implemented in Ruby.
3
3
 
4
4
  ## Installation
@@ -156,9 +156,7 @@ other:
156
156
 
157
157
  ## Development
158
158
 
159
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
160
-
161
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
159
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/zakichan` for an interactive prompt that will allow you to experiment.
162
160
 
163
161
  ## Contributing
164
162
 
@@ -24,7 +24,7 @@ module SchemeChecker
24
24
  def check_for_quote(token)
25
25
  return true if token[0].quote?
26
26
  is_instance_var = check_instance_var token
27
- return true if is_instance_var && (check_for_number get_var token)
27
+ return true if is_instance_var && (check_for_quote get_var token)
28
28
  false
29
29
  end
30
30
 
@@ -39,7 +39,7 @@ module SchemeChecker
39
39
  return true if var == '#\space'
40
40
  return true if var.character?
41
41
  is_instance_var = check_instance_var var
42
- return true if is_instance_var && (check_for_character get_var var)
42
+ return true if is_instance_var && (check_for_symbol get_var var)
43
43
  false
44
44
  end
45
45
  end
@@ -1,5 +1,5 @@
1
1
  module Lisp
2
2
  module Interpreter
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lisp-interpreter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaki Petrov