schaefer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +5 -0
- data/Examples/exampleGreater.sch +7 -0
- data/Examples/exampleLesser.sch +6 -0
- data/Examples/exampleMultipy.sch +3 -0
- data/README.md +12 -8
- data/bin/.DS_Store +0 -0
- data/bin/schaefer +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/schaefer/.DS_Store +0 -0
- data/lib/schaefer/Library/isgreater.sch +8 -0
- data/lib/schaefer/Library/islesser.sch +10 -0
- data/lib/schaefer/Library/multiplicationOperator.sch +7 -0
- data/lib/schaefer/version.rb +1 -1
- metadata +10 -5
- data/Examples/exampleFunction.sch~ +0 -11
- data/Examples/exampleIf.sch~ +0 -13
data/.DS_Store
CHANGED
Binary file
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Schaefer
|
2
2
|
|
3
|
-
|
3
|
+
SchaeferScript is a small programming language that resembles lisp and scheme. SchaeferScript was designed to demonstrate how a programming language can be built in ruby. This language is primarily instructionall, but is very flexible and can eventually be written in itself.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,12 +18,16 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
By running the command:
|
22
|
+
|
23
|
+
schaefer
|
22
24
|
|
23
|
-
|
25
|
+
you enter into the command line interface where programs can be executed line by line. By passing a file to the 'schaefer' command:
|
24
26
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
schaefer <file>
|
28
|
+
|
29
|
+
the file is executed. To run in verbose mode call:
|
30
|
+
|
31
|
+
schaefer -v <file>
|
32
|
+
|
33
|
+
Running in verbose mode will output non-displayed returns.
|
data/bin/.DS_Store
CHANGED
File without changes
|
data/bin/schaefer
CHANGED
File without changes
|
data/lib/.DS_Store
CHANGED
Binary file
|
data/lib/schaefer/.DS_Store
CHANGED
Binary file
|
data/lib/schaefer/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schaefer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tommy Schaefer
|
@@ -31,6 +31,7 @@ extra_rdoc_files: []
|
|
31
31
|
files:
|
32
32
|
- .DS_Store
|
33
33
|
- .gitignore
|
34
|
+
- .gitignore~
|
34
35
|
- Examples/.DS_Store
|
35
36
|
- Examples/exampleAdd.sch
|
36
37
|
- Examples/exampleAdd.sch~
|
@@ -39,11 +40,12 @@ files:
|
|
39
40
|
- Examples/exampleDo.sch
|
40
41
|
- Examples/exampleDo.sch~
|
41
42
|
- Examples/exampleFunction.sch
|
42
|
-
- Examples/exampleFunction.sch~
|
43
43
|
- Examples/exampleFunction2.sch
|
44
44
|
- Examples/exampleGets.sch
|
45
|
+
- Examples/exampleGreater.sch
|
45
46
|
- Examples/exampleIf.sch
|
46
|
-
- Examples/
|
47
|
+
- Examples/exampleLesser.sch
|
48
|
+
- Examples/exampleMultipy.sch
|
47
49
|
- Examples/exampleWrite.sch
|
48
50
|
- Examples/exampleWrite.sch~
|
49
51
|
- Gemfile
|
@@ -68,6 +70,9 @@ files:
|
|
68
70
|
- lib/schaefer/Library/if.sch
|
69
71
|
- lib/schaefer/Library/if.sch~
|
70
72
|
- lib/schaefer/Library/input.sch
|
73
|
+
- lib/schaefer/Library/isgreater.sch
|
74
|
+
- lib/schaefer/Library/islesser.sch
|
75
|
+
- lib/schaefer/Library/multiplicationOperator.sch
|
71
76
|
- lib/schaefer/Library/write.sch
|
72
77
|
- lib/schaefer/Library/write.sch~
|
73
78
|
- lib/schaefer/environment.rb
|