lisp 1.0.0 → 1.0.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 +4 -4
- data/.gitignore +1 -0
- data/README.md +4 -1
- data/lib/lisp/version.rb +1 -1
- metadata +1 -2
- data/Gemfile.lock +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae19eed30562514f832218c6558c6900f24b73e6
|
4
|
+
data.tar.gz: d5be24c84e5e618069d70d4df6dcd58eb51c6fb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b706d317e74122ce7bd634e69b785326d49beb289e899363ecd2d484ebf9b01ae6a710d5776ad6e5f526a60b5468dfaf836c5ae58f1d9f85ce714fc92c2546
|
7
|
+
data.tar.gz: 6957c2517635ed2a5842cf44bd0fd4fafb4c8225560bba10b4e11ed6840c0160f5aee4bf5782b21130ea8bb685391d63fc703e25735100a35bc0fd6386ad875c
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -6,6 +6,10 @@ lisp-rb
|
|
6
6
|
Lisp Interpreter in Ruby. Inspired by [Lis.py](http://norvig.com/lispy.html).
|
7
7
|
|
8
8
|
```
|
9
|
+
> require 'lisp'
|
10
|
+
=> true
|
11
|
+
> Lisp.repl
|
12
|
+
ctrl-c to exit
|
9
13
|
> (define pi 3.14)
|
10
14
|
3.14
|
11
15
|
> (* pi 2)
|
@@ -47,5 +51,4 @@ Features
|
|
47
51
|
|
48
52
|
- [ ] __assignment__ - (set! var exp) Evaluate exp and assign that value to var, which must have been previously defined (with a define or as a parameter to an enclosing procedure). _Example: (set! x2 (* x x))_
|
49
53
|
|
50
|
-
|
51
54
|
- [ ] __sequencing__ - (begin exp...) Evaluate each of the expressions in left-to-right order, and return the final value. _Example: (begin (set! x 1) (set! x (+ x 1)) (* x 2)) ⇒ 4_
|
data/lib/lisp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lisp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Moriarty
|
@@ -61,7 +61,6 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
64
|
- LICENSE.txt
|
66
65
|
- README.md
|
67
66
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
lisp (1.0.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
codeclimate-test-reporter (0.3.0)
|
10
|
-
simplecov (>= 0.7.1, < 1.0.0)
|
11
|
-
coderay (1.1.0)
|
12
|
-
docile (1.1.3)
|
13
|
-
method_source (0.8.2)
|
14
|
-
multi_json (1.10.1)
|
15
|
-
pry (0.9.12.6)
|
16
|
-
coderay (~> 1.0)
|
17
|
-
method_source (~> 0.8)
|
18
|
-
slop (~> 3.4)
|
19
|
-
rake (10.3.1)
|
20
|
-
simplecov (0.8.2)
|
21
|
-
docile (~> 1.1.0)
|
22
|
-
multi_json
|
23
|
-
simplecov-html (~> 0.8.0)
|
24
|
-
simplecov-html (0.8.0)
|
25
|
-
slop (3.5.0)
|
26
|
-
|
27
|
-
PLATFORMS
|
28
|
-
ruby
|
29
|
-
|
30
|
-
DEPENDENCIES
|
31
|
-
bundler (~> 1.6)
|
32
|
-
codeclimate-test-reporter
|
33
|
-
lisp!
|
34
|
-
pry
|
35
|
-
rake
|