nydp 0.1.2 → 0.1.3

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -13
  3. data/lib/lisp/core-015-documentation.nydp +11 -2
  4. data/lib/lisp/core-030-syntax.nydp +52 -8
  5. data/lib/lisp/core-040-utils.nydp +35 -47
  6. data/lib/lisp/core-045-dox-utils.nydp +85 -0
  7. data/lib/lisp/core-050-test-runner.nydp +20 -2
  8. data/lib/lisp/core-080-pretty-print.nydp +5 -1
  9. data/lib/lisp/tests/boot-tests.nydp +125 -255
  10. data/lib/lisp/tests/car-examples.nydp +16 -0
  11. data/lib/lisp/tests/collect-tests.nydp +28 -0
  12. data/lib/lisp/tests/cons-examples.nydp +8 -0
  13. data/lib/lisp/tests/curry-tests.nydp +17 -18
  14. data/lib/lisp/tests/detect-examples.nydp +24 -0
  15. data/lib/lisp/tests/dot-syntax-examples.nydp +40 -0
  16. data/lib/lisp/tests/dox-tests.nydp +116 -100
  17. data/lib/lisp/tests/dynamic-scope-test.nydp +10 -10
  18. data/lib/lisp/tests/each-tests.nydp +4 -5
  19. data/lib/lisp/tests/error-tests.nydp +17 -16
  20. data/lib/lisp/tests/explain-mac-examples.nydp +24 -0
  21. data/lib/lisp/tests/foundation-test.nydp +57 -223
  22. data/lib/lisp/tests/hash-examples.nydp +41 -0
  23. data/lib/lisp/tests/isa-examples.nydp +7 -0
  24. data/lib/lisp/tests/len-examples.nydp +11 -0
  25. data/lib/lisp/tests/list-tests.nydp +110 -75
  26. data/lib/lisp/tests/parser-tests.nydp +67 -109
  27. data/lib/lisp/tests/pretty-print-tests.nydp +19 -20
  28. data/lib/lisp/tests/quasiquote-examples.nydp +10 -0
  29. data/lib/lisp/tests/rfnwith-tests.nydp +7 -0
  30. data/lib/lisp/tests/string-tests.nydp +60 -31
  31. data/lib/lisp/tests/syntax-tests.nydp +22 -24
  32. data/lib/lisp/tests/type-of-examples.nydp +48 -0
  33. data/lib/lisp/tests/unparse-tests.nydp +2 -3
  34. data/lib/nydp.rb +2 -1
  35. data/lib/nydp/version.rb +1 -1
  36. metadata +14 -1
@@ -19,6 +19,7 @@ module Nydp
19
19
  ns = { }
20
20
  setup(ns)
21
21
  loadall ns, loadfiles
22
+ loadall ns, testfiles
22
23
  loadall ns, extra_files if extra_files
23
24
  ns
24
25
  end
@@ -47,7 +48,7 @@ module Nydp
47
48
  verbose = options.include?(:verbose) ? "t" : "nil"
48
49
  puts "welcome to nydp : running tests"
49
50
  reader = Nydp::StringReader.new "(run-all-tests #{verbose})"
50
- Nydp::Runner.new(VM.new, build_nydp(testfiles), reader).run
51
+ Nydp::Runner.new(VM.new, build_nydp, reader).run
51
52
  end
52
53
 
53
54
  end
@@ -1,3 +1,3 @@
1
1
  module Nydp
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nydp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conan Dalton
@@ -90,24 +90,37 @@ files:
90
90
  - lib/lisp/core-020-utils.nydp
91
91
  - lib/lisp/core-030-syntax.nydp
92
92
  - lib/lisp/core-040-utils.nydp
93
+ - lib/lisp/core-045-dox-utils.nydp
93
94
  - lib/lisp/core-050-test-runner.nydp
94
95
  - lib/lisp/core-060-benchmarking.nydp
95
96
  - lib/lisp/core-070-prefix-list.nydp
96
97
  - lib/lisp/core-080-pretty-print.nydp
97
98
  - lib/lisp/tests/boot-tests.nydp
98
99
  - lib/lisp/tests/builtin-tests.nydp
100
+ - lib/lisp/tests/car-examples.nydp
101
+ - lib/lisp/tests/collect-tests.nydp
102
+ - lib/lisp/tests/cons-examples.nydp
99
103
  - lib/lisp/tests/curry-tests.nydp
104
+ - lib/lisp/tests/detect-examples.nydp
105
+ - lib/lisp/tests/dot-syntax-examples.nydp
100
106
  - lib/lisp/tests/dox-tests.nydp
101
107
  - lib/lisp/tests/dynamic-scope-test.nydp
102
108
  - lib/lisp/tests/each-tests.nydp
103
109
  - lib/lisp/tests/error-tests.nydp
110
+ - lib/lisp/tests/explain-mac-examples.nydp
104
111
  - lib/lisp/tests/foundation-test.nydp
112
+ - lib/lisp/tests/hash-examples.nydp
105
113
  - lib/lisp/tests/invocation-tests.nydp
114
+ - lib/lisp/tests/isa-examples.nydp
115
+ - lib/lisp/tests/len-examples.nydp
106
116
  - lib/lisp/tests/list-tests.nydp
107
117
  - lib/lisp/tests/parser-tests.nydp
108
118
  - lib/lisp/tests/pretty-print-tests.nydp
119
+ - lib/lisp/tests/quasiquote-examples.nydp
120
+ - lib/lisp/tests/rfnwith-tests.nydp
109
121
  - lib/lisp/tests/string-tests.nydp
110
122
  - lib/lisp/tests/syntax-tests.nydp
123
+ - lib/lisp/tests/type-of-examples.nydp
111
124
  - lib/lisp/tests/unparse-tests.nydp
112
125
  - lib/nydp.rb
113
126
  - lib/nydp/assignment.rb