trackler 2.1.0.25 → 2.1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +10 -0
- data/bin/bootstrap +6 -0
- data/common/CONTRIBUTING.md +2 -2
- data/lib/trackler/version.rb +1 -1
- data/tracks/coffeescript/LICENSE +2 -2
- data/tracks/coffeescript/README.md +0 -5
- data/tracks/coldfusion/LICENSE +2 -2
- data/tracks/coldfusion/README.md +0 -5
- data/tracks/crystal/LICENSE +2 -2
- data/tracks/crystal/README.md +0 -5
- data/tracks/dlang/.travis.yml +4 -2
- data/tracks/dlang/LICENSE +2 -2
- data/tracks/dlang/README.md +3 -6
- data/tracks/dlang/bin/test-all-exercises +20 -0
- data/tracks/dlang/bin/test-exercise +16 -0
- data/tracks/dlang/config.json +0 -18
- data/tracks/dlang/exercises/difference-of-squares/difference_of_squares.d +6 -3
- data/tracks/dlang/exercises/difference-of-squares/difference_of_squares_example.d +17 -0
- data/tracks/dlang/exercises/gigasecond/gigasecond.d +7 -3
- data/tracks/dlang/exercises/gigasecond/gigasecond_example.d +15 -0
- data/tracks/dlang/exercises/hello-world/hello_world.d +4 -3
- data/tracks/dlang/exercises/hello-world/hello_world_example.d +9 -0
- data/tracks/dlang/exercises/nucleotide-count/nucleotide_count.d +1 -1
- data/tracks/dlang/exercises/raindrops/raindrops.d +6 -3
- data/tracks/dlang/exercises/raindrops/raindrops_example.d +20 -0
- data/tracks/dlang/exercises/rna-transcription/rna_transcription.d +7 -3
- data/tracks/dlang/exercises/rna-transcription/rna_transcription_example.d +15 -0
- data/tracks/ecmascript/exercises/accumulate/package.json +25 -39
- data/tracks/ecmascript/exercises/acronym/package.json +25 -39
- data/tracks/ecmascript/exercises/all-your-base/package.json +25 -39
- data/tracks/ecmascript/exercises/allergies/package.json +25 -39
- data/tracks/ecmascript/exercises/anagram/package.json +25 -39
- data/tracks/ecmascript/exercises/atbash-cipher/package.json +25 -39
- data/tracks/ecmascript/exercises/beer-song/package.json +25 -39
- data/tracks/ecmascript/exercises/binary/package.json +25 -39
- data/tracks/ecmascript/exercises/binary-search/example.js +3 -1
- data/tracks/ecmascript/exercises/binary-search/package.json +25 -39
- data/tracks/ecmascript/exercises/binary-search-tree/package.json +25 -39
- data/tracks/ecmascript/exercises/bob/bob.js +1 -0
- data/tracks/ecmascript/exercises/bob/package.json +25 -39
- data/tracks/ecmascript/exercises/bracket-push/package.json +25 -39
- data/tracks/ecmascript/exercises/circular-buffer/package.json +25 -39
- data/tracks/ecmascript/exercises/clock/package.json +25 -39
- data/tracks/ecmascript/exercises/connect/example.js +4 -1
- data/tracks/ecmascript/exercises/connect/package.json +25 -39
- data/tracks/ecmascript/exercises/crypto-square/package.json +25 -39
- data/tracks/ecmascript/exercises/custom-set/package.json +25 -39
- data/tracks/ecmascript/exercises/diamond/example.js +3 -4
- data/tracks/ecmascript/exercises/diamond/package.json +25 -39
- data/tracks/ecmascript/exercises/difference-of-squares/package.json +25 -39
- data/tracks/ecmascript/exercises/etl/package.json +25 -39
- data/tracks/ecmascript/exercises/food-chain/package.json +25 -39
- data/tracks/ecmascript/exercises/gigasecond/package.json +25 -39
- data/tracks/ecmascript/exercises/grade-school/package.json +25 -39
- data/tracks/ecmascript/exercises/grains/lib/big-integer.js +1153 -1152
- data/tracks/ecmascript/exercises/grains/package.json +25 -39
- data/tracks/ecmascript/exercises/hamming/package.json +25 -39
- data/tracks/ecmascript/exercises/hello-world/package.json +25 -39
- data/tracks/ecmascript/exercises/hexadecimal/package.json +25 -39
- data/tracks/ecmascript/exercises/isogram/package.json +25 -39
- data/tracks/ecmascript/exercises/kindergarten-garden/package.json +25 -39
- data/tracks/ecmascript/exercises/largest-series-product/example.js +8 -2
- data/tracks/ecmascript/exercises/largest-series-product/package.json +25 -39
- data/tracks/ecmascript/exercises/leap/package.json +25 -39
- data/tracks/ecmascript/exercises/linked-list/package.json +25 -39
- data/tracks/ecmascript/exercises/luhn/package.json +25 -39
- data/tracks/ecmascript/exercises/matrix/package.json +25 -39
- data/tracks/ecmascript/exercises/meetup/example.js +3 -5
- data/tracks/ecmascript/exercises/meetup/meetup.spec.js +2 -5
- data/tracks/ecmascript/exercises/meetup/package.json +25 -39
- data/tracks/ecmascript/exercises/nth-prime/package.json +25 -39
- data/tracks/ecmascript/exercises/ocr-numbers/package.json +25 -39
- data/tracks/ecmascript/exercises/octal/package.json +25 -39
- data/tracks/ecmascript/exercises/package.json +24 -40
- data/tracks/ecmascript/exercises/palindrome-products/package.json +25 -39
- data/tracks/ecmascript/exercises/pangram/package.json +25 -39
- data/tracks/ecmascript/exercises/pascals-triangle/package.json +25 -39
- data/tracks/ecmascript/exercises/perfect-numbers/example.js +5 -7
- data/tracks/ecmascript/exercises/perfect-numbers/package.json +25 -39
- data/tracks/ecmascript/exercises/phone-number/package.json +25 -39
- data/tracks/ecmascript/exercises/pig-latin/package.json +25 -39
- data/tracks/ecmascript/exercises/prime-factors/package.json +25 -39
- data/tracks/ecmascript/exercises/pythagorean-triplet/package.json +25 -39
- data/tracks/ecmascript/exercises/queen-attack/package.json +25 -39
- data/tracks/ecmascript/exercises/queen-attack/queen-attack.spec.js +1 -2
- data/tracks/ecmascript/exercises/raindrops/package.json +25 -39
- data/tracks/ecmascript/exercises/rna-transcription/example.js +1 -2
- data/tracks/ecmascript/exercises/rna-transcription/package.json +25 -39
- data/tracks/ecmascript/exercises/robot-name/package.json +25 -39
- data/tracks/ecmascript/exercises/robot-simulator/package.json +25 -39
- data/tracks/ecmascript/exercises/roman-numerals/package.json +25 -39
- data/tracks/ecmascript/exercises/saddle-points/example.js +1 -1
- data/tracks/ecmascript/exercises/saddle-points/package.json +25 -39
- data/tracks/ecmascript/exercises/say/package.json +25 -39
- data/tracks/ecmascript/exercises/scrabble-score/package.json +25 -39
- data/tracks/ecmascript/exercises/secret-handshake/package.json +25 -39
- data/tracks/ecmascript/exercises/series/package.json +25 -39
- data/tracks/ecmascript/exercises/sieve/example.js +1 -1
- data/tracks/ecmascript/exercises/sieve/package.json +25 -39
- data/tracks/ecmascript/exercises/simple-cipher/package.json +25 -39
- data/tracks/ecmascript/exercises/space-age/package.json +25 -39
- data/tracks/ecmascript/exercises/strain/package.json +25 -39
- data/tracks/ecmascript/exercises/sum-of-multiples/package.json +25 -39
- data/tracks/ecmascript/exercises/triangle/package.json +25 -39
- data/tracks/ecmascript/exercises/trinary/package.json +25 -39
- data/tracks/ecmascript/exercises/two-bucket/package.json +25 -39
- data/tracks/ecmascript/exercises/word-count/package.json +25 -39
- data/tracks/ecmascript/exercises/wordy/package.json +25 -39
- data/tracks/ecmascript/package.json +25 -39
- data/tracks/factor/config.json +0 -6
- data/tracks/go/exercises/variable-length-quantity/.meta/gen.go +0 -8
- data/tracks/go/exercises/variable-length-quantity/cases_test.go +0 -9
- data/tracks/go/exercises/variable-length-quantity/example.go +5 -5
- data/tracks/go/exercises/variable-length-quantity/variable_length_quantity_test.go +2 -4
- data/tracks/groovy/LICENSE +2 -2
- data/tracks/groovy/README.md +0 -5
- data/tracks/haxe/LICENSE +2 -2
- data/tracks/haxe/README.md +0 -5
- data/tracks/nasm/LICENSE +21 -0
- data/tracks/nasm/README.md +1 -6
- data/tracks/nim/LICENSE +21 -0
- data/tracks/nim/README.md +0 -5
- data/tracks/plsql/LICENSE +2 -2
- data/tracks/plsql/README.md +0 -5
- data/tracks/plsql/config.json +52 -12
- data/tracks/pony/LICENSE +2 -2
- data/tracks/pony/README.md +0 -5
- data/tracks/powershell/LICENSE +21 -0
- data/tracks/powershell/README.md +0 -5
- data/tracks/prolog/LICENSE +2 -2
- data/tracks/prolog/README.md +1 -6
- data/tracks/purescript/LICENSE +2 -2
- data/tracks/purescript/README.md +0 -5
- data/tracks/ruby/exercises/meetup/.meta/solutions/meetup.rb +1 -0
- data/tracks/ruby/exercises/meetup/meetup_test.rb +0 -1
- data/tracks/sml/LICENSE +21 -0
- data/tracks/sml/README.md +0 -5
- data/tracks/tcl/LICENSE +2 -2
- data/tracks/tcl/README.md +1 -6
- data/tracks/teco/LICENSE +2 -2
- data/tracks/teco/README.md +0 -5
- data/tracks/vbnet/LICENSE +21 -0
- data/tracks/vbnet/README.md +0 -5
- data/tracks/vimscript/config.json +5 -0
- data/tracks/vimscript/exercises/scrabble-score/example.vim +21 -0
- data/tracks/vimscript/exercises/scrabble-score/scrabble_score.vader +62 -0
- data/tracks/vimscript/exercises/scrabble-score/scrabble_score.vim +16 -0
- metadata +13 -2
@@ -27,52 +27,38 @@
|
|
27
27
|
"scripts": {
|
28
28
|
"test": "jest --no-cache ./*",
|
29
29
|
"watch": "jest --no-cache --watch ./*",
|
30
|
-
"lint": "eslint
|
31
|
-
"lint-test": "eslint
|
30
|
+
"lint": "eslint .",
|
31
|
+
"lint-test": "eslint . && jest --no-cache ./* "
|
32
32
|
},
|
33
33
|
"eslintConfig": {
|
34
34
|
"parserOptions": {
|
35
35
|
"ecmaVersion": 6,
|
36
36
|
"sourceType": "module"
|
37
37
|
},
|
38
|
+
"env": {
|
39
|
+
"es6": true,
|
40
|
+
"node": true,
|
41
|
+
"jasmine": true
|
42
|
+
},
|
43
|
+
"extends": "eslint:recommended",
|
38
44
|
"rules": {
|
39
|
-
"
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
"
|
44
|
-
|
45
|
-
|
46
|
-
],
|
47
|
-
"no-
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"no-
|
52
|
-
"no-
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"no-ex-assign": 2,
|
57
|
-
"no-extra-boolean-cast": 2,
|
58
|
-
"no-extra-parens": 2,
|
59
|
-
"no-extra-semi": 2,
|
60
|
-
"no-func-assign": 2,
|
61
|
-
"no-inner-declarations": [
|
62
|
-
2,
|
63
|
-
"both"
|
64
|
-
],
|
65
|
-
"no-invalid-regexp": 2,
|
66
|
-
"no-irregular-whitespace": 2,
|
67
|
-
"no-negated-in-lhs": 2,
|
68
|
-
"no-obj-calls": 2,
|
69
|
-
"no-regex-spaces": 2,
|
70
|
-
"no-sparse-arrays": 2,
|
71
|
-
"no-unexpected-multiline": 2,
|
72
|
-
"no-unreachable": 2,
|
73
|
-
"use-isnan": 2,
|
74
|
-
"valid-jsdoc": 2,
|
75
|
-
"valid-typeof": 2
|
45
|
+
"indent": [ "off", 2 ],
|
46
|
+
"block-scoped-var": "off",
|
47
|
+
"radix": "off",
|
48
|
+
"no-use-before-define": "off",
|
49
|
+
"one-var": [ "off", "always" ],
|
50
|
+
"quotes": [ "off", "single", { "avoidEscape": true } ],
|
51
|
+
"semi": [ "off", "always" ],
|
52
|
+
"semi-spacing": [ "off", { "before": false, "after": true } ],
|
53
|
+
"no-whitespace-before-property": "off",
|
54
|
+
"space-before-blocks": [ "off", "always" ],
|
55
|
+
"space-before-function-paren": [ "off", { "anonymous": "always", "named": "never" } ],
|
56
|
+
"keyword-spacing": [ "off", { "before": true, "after": true } ],
|
57
|
+
"no-multi-spaces": "off",
|
58
|
+
"no-trailing-spaces": "off",
|
59
|
+
"curly": [ "error", "all" ],
|
60
|
+
"brace-style": [ "error", "1tbs", { "allowSingleLine": true } ],
|
61
|
+
"object-curly-spacing": [ "off", "always" ]
|
76
62
|
}
|
77
63
|
},
|
78
64
|
"licenses": [
|
data/tracks/factor/config.json
CHANGED
@@ -11,7 +11,6 @@ func main() {
|
|
11
11
|
t := template.New("").Funcs(template.FuncMap{
|
12
12
|
"GroupComment": GroupComment,
|
13
13
|
"byteSlice": byteSlice,
|
14
|
-
"lengthSlice": lengthSlice,
|
15
14
|
})
|
16
15
|
t, err := t.Parse(tmpl)
|
17
16
|
if err != nil {
|
@@ -32,11 +31,6 @@ func byteSlice(ns []uint32) []byte {
|
|
32
31
|
return b
|
33
32
|
}
|
34
33
|
|
35
|
-
// lengthSlice returns the length of given slice.
|
36
|
-
func lengthSlice(ns []uint32) int {
|
37
|
-
return len(ns)
|
38
|
-
}
|
39
|
-
|
40
34
|
// The JSON structure we expect to be able to unmarshal into
|
41
35
|
type js struct {
|
42
36
|
Groups []TestGroup `json:"Cases"`
|
@@ -101,13 +95,11 @@ var decodeTestCases = []struct {
|
|
101
95
|
description string
|
102
96
|
input []byte
|
103
97
|
output []uint32 // nil slice indicates error expected.
|
104
|
-
size int
|
105
98
|
}{ {{range .J.Groups}} {{range .Cases}}
|
106
99
|
{{if .PropertyMatch "decode"}} {
|
107
100
|
{{printf "%q" .Description}},
|
108
101
|
{{byteSlice .Input | printf "%#v" }},
|
109
102
|
{{printf "%#v" .Expected }},
|
110
|
-
{{lengthSlice .Input}},
|
111
103
|
},{{- end}}{{end}}{{end}}
|
112
104
|
}
|
113
105
|
`
|
@@ -107,55 +107,46 @@ var decodeTestCases = []struct {
|
|
107
107
|
description string
|
108
108
|
input []byte
|
109
109
|
output []uint32 // nil slice indicates error expected.
|
110
|
-
size int
|
111
110
|
}{
|
112
111
|
|
113
112
|
{
|
114
113
|
"one byte",
|
115
114
|
[]byte{0x7f},
|
116
115
|
[]uint32{0x7f},
|
117
|
-
1,
|
118
116
|
},
|
119
117
|
{
|
120
118
|
"two bytes",
|
121
119
|
[]byte{0xc0, 0x0},
|
122
120
|
[]uint32{0x2000},
|
123
|
-
2,
|
124
121
|
},
|
125
122
|
{
|
126
123
|
"three bytes",
|
127
124
|
[]byte{0xff, 0xff, 0x7f},
|
128
125
|
[]uint32{0x1fffff},
|
129
|
-
3,
|
130
126
|
},
|
131
127
|
{
|
132
128
|
"four bytes",
|
133
129
|
[]byte{0x81, 0x80, 0x80, 0x0},
|
134
130
|
[]uint32{0x200000},
|
135
|
-
4,
|
136
131
|
},
|
137
132
|
{
|
138
133
|
"maximum 32-bit integer",
|
139
134
|
[]byte{0x8f, 0xff, 0xff, 0xff, 0x7f},
|
140
135
|
[]uint32{0xffffffff},
|
141
|
-
5,
|
142
136
|
},
|
143
137
|
{
|
144
138
|
"incomplete sequence causes error",
|
145
139
|
[]byte{0xff},
|
146
140
|
[]uint32(nil),
|
147
|
-
1,
|
148
141
|
},
|
149
142
|
{
|
150
143
|
"incomplete sequence causes error, even if value is zero",
|
151
144
|
[]byte{0x80},
|
152
145
|
[]uint32(nil),
|
153
|
-
1,
|
154
146
|
},
|
155
147
|
{
|
156
148
|
"multiple values",
|
157
149
|
[]byte{0xc0, 0x0, 0xc8, 0xe8, 0x56, 0xff, 0xff, 0xff, 0x7f, 0x0, 0xff, 0x7f, 0x81, 0x80, 0x0},
|
158
150
|
[]uint32{0x2000, 0x123456, 0xfffffff, 0x0, 0x3fff, 0x4000},
|
159
|
-
15,
|
160
151
|
},
|
161
152
|
}
|
@@ -2,7 +2,7 @@ package variablelengthquantity
|
|
2
2
|
|
3
3
|
import "errors"
|
4
4
|
|
5
|
-
const testVersion =
|
5
|
+
const testVersion = 4
|
6
6
|
|
7
7
|
var ErrUnterminatedSequence = errors.New("unterminated sequence")
|
8
8
|
|
@@ -83,19 +83,19 @@ func EncodeVarint(xa []uint32) []byte {
|
|
83
83
|
// DecodeVarint decodes a buffer of var-int encoded values into
|
84
84
|
// a slice of uint32 values; an error is returned if buf doesn't
|
85
85
|
// decode var-int successfully.
|
86
|
-
func DecodeVarint(buf []byte) (ra []uint32,
|
86
|
+
func DecodeVarint(buf []byte) (ra []uint32, err error) {
|
87
87
|
if len(buf) == 0 {
|
88
|
-
return []uint32{0},
|
88
|
+
return []uint32{0}, nil
|
89
89
|
}
|
90
90
|
usedBytes := 0
|
91
91
|
ra = make([]uint32, 0)
|
92
92
|
for usedBytes < len(buf) {
|
93
93
|
r, nUsed, err := decodeInt(buf[usedBytes:])
|
94
94
|
if err != nil {
|
95
|
-
return nil,
|
95
|
+
return nil, err
|
96
96
|
}
|
97
97
|
ra = append(ra, r)
|
98
98
|
usedBytes += nUsed
|
99
99
|
}
|
100
|
-
return ra,
|
100
|
+
return ra, nil
|
101
101
|
}
|
@@ -6,7 +6,7 @@ import (
|
|
6
6
|
"testing"
|
7
7
|
)
|
8
8
|
|
9
|
-
const targetTestVersion =
|
9
|
+
const targetTestVersion = 4
|
10
10
|
|
11
11
|
func TestTestVersion(t *testing.T) {
|
12
12
|
if testVersion != targetTestVersion {
|
@@ -16,7 +16,7 @@ func TestTestVersion(t *testing.T) {
|
|
16
16
|
|
17
17
|
func TestDecodeVarint(t *testing.T) {
|
18
18
|
for i, tc := range decodeTestCases {
|
19
|
-
o,
|
19
|
+
o, err := DecodeVarint(tc.input)
|
20
20
|
if err != nil {
|
21
21
|
var _ error = err
|
22
22
|
if tc.output != nil {
|
@@ -26,8 +26,6 @@ func TestDecodeVarint(t *testing.T) {
|
|
26
26
|
t.Fatalf("FAIL: case %d | %s\nexpected error, got %#v\n", i, tc.description, o)
|
27
27
|
} else if !reflect.DeepEqual(o, tc.output) {
|
28
28
|
t.Fatalf("FAIL: case %d | %s\nexpected\t%#v\ngot\t\t%#v\n", i, tc.description, tc.output, o)
|
29
|
-
} else if size != tc.size {
|
30
|
-
t.Fatalf("FAIL: case %d | %s\n expected encoding size of %d bytes\ngot %d bytes\n", i, tc.description, tc.size, size)
|
31
29
|
}
|
32
30
|
t.Logf("PASS: case %d | %s\n", i, tc.description)
|
33
31
|
}
|
data/tracks/groovy/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/groovy/README.md
CHANGED
data/tracks/haxe/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/haxe/README.md
CHANGED
@@ -10,11 +10,6 @@ _Document how to contribute to the Haxe track._
|
|
10
10
|
|
11
11
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
12
12
|
|
13
|
-
## License
|
14
|
-
|
15
|
-
The MIT License (MIT)
|
16
|
-
|
17
|
-
Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
|
18
13
|
|
19
14
|
### Haxe icon
|
20
15
|
The Haxe logo is assumed to be owned by the Haxe Foundation, but this is not made explicit. We have adapted it, changing the colours, for use on Exercism, which we believe to fall under fair use.
|
data/tracks/nasm/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/tracks/nasm/README.md
CHANGED
@@ -6,11 +6,6 @@ Exercism Exercises for the Netwide Assembler.
|
|
6
6
|
|
7
7
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
8
8
|
|
9
|
-
## License
|
10
|
-
|
11
|
-
The MIT License (MIT)
|
12
|
-
|
13
|
-
Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
|
14
9
|
|
15
10
|
### NASM icon
|
16
|
-
The NASM logo is Copyright 2012 H. Peter Anvin. We have adapted it, tweaking the colours, for use on Exercism. We are using it to identify the NASM language and platform itself, not any part of Exercism, which we believe to be admissible under fair use.
|
11
|
+
The NASM logo is Copyright 2012 H. Peter Anvin. We have adapted it, tweaking the colours, for use on Exercism. We are using it to identify the NASM language and platform itself, not any part of Exercism, which we believe to be admissible under fair use.
|
data/tracks/nim/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/tracks/nim/README.md
CHANGED
@@ -8,11 +8,6 @@ Exercism exercises in Nim
|
|
8
8
|
|
9
9
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
10
10
|
|
11
|
-
## License
|
12
|
-
|
13
|
-
The MIT License (MIT)
|
14
|
-
|
15
|
-
Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
|
16
11
|
|
17
12
|
### Nim icon
|
18
13
|
The Nim logo is assumed to be owned by Andreas Rumpf. It appears to be released under the MIT license, along with the Nim codebase. We've adapted the official Nim logo by changing the colors, which we believe falls under fair use.
|
data/tracks/plsql/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/plsql/README.md
CHANGED
data/tracks/plsql/config.json
CHANGED
@@ -4,18 +4,6 @@
|
|
4
4
|
"repository": "https://github.com/exercism/xplsql",
|
5
5
|
"active": true,
|
6
6
|
"test_pattern": "ut.*plsql",
|
7
|
-
"problems": [
|
8
|
-
"hamming",
|
9
|
-
"gigasecond",
|
10
|
-
"rna-transcription",
|
11
|
-
"raindrops",
|
12
|
-
"difference-of-squares",
|
13
|
-
"roman-numerals",
|
14
|
-
"nth-prime",
|
15
|
-
"leap",
|
16
|
-
"grains",
|
17
|
-
"binary"
|
18
|
-
],
|
19
7
|
"deprecated": [
|
20
8
|
|
21
9
|
],
|
@@ -25,5 +13,57 @@
|
|
25
13
|
],
|
26
14
|
"foregone": [
|
27
15
|
|
16
|
+
],
|
17
|
+
"exercises": [
|
18
|
+
{
|
19
|
+
"difficulty": 1,
|
20
|
+
"slug": "hamming",
|
21
|
+
"topics": []
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"difficulty": 1,
|
25
|
+
"slug": "gigasecond",
|
26
|
+
"topics": []
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"difficulty": 1,
|
30
|
+
"slug": "rna-transcription",
|
31
|
+
"topics": []
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"difficulty": 1,
|
35
|
+
"slug": "raindrops",
|
36
|
+
"topics": []
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"difficulty": 1,
|
40
|
+
"slug": "difference-of-squares",
|
41
|
+
"topics": []
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"difficulty": 1,
|
45
|
+
"slug": "roman-numerals",
|
46
|
+
"topics": []
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"difficulty": 1,
|
50
|
+
"slug": "nth-prime",
|
51
|
+
"topics": []
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"difficulty": 1,
|
55
|
+
"slug": "leap",
|
56
|
+
"topics": []
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"difficulty": 1,
|
60
|
+
"slug": "grains",
|
61
|
+
"topics": []
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"difficulty": 1,
|
65
|
+
"slug": "binary",
|
66
|
+
"topics": []
|
67
|
+
}
|
28
68
|
]
|
29
69
|
}
|
data/tracks/pony/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/pony/README.md
CHANGED
@@ -8,11 +8,6 @@ Exercism exercises in Pony.
|
|
8
8
|
|
9
9
|
Please see the [contributing guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md).
|
10
10
|
|
11
|
-
## License
|
12
|
-
|
13
|
-
The MIT License (MIT)
|
14
|
-
|
15
|
-
Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
|
16
11
|
|
17
12
|
### Pony icon
|
18
13
|
The icon of a pony in use here is in the public domain.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/tracks/powershell/README.md
CHANGED
data/tracks/prolog/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/prolog/README.md
CHANGED
@@ -69,12 +69,7 @@ test(hello_world_with_a_name, condition(pending)) :-
|
|
69
69
|
All the tests for xProlog exercises can be run from the top level of the repo
|
70
70
|
with `bin/build.sh`. Please run this command before submitting your PR.
|
71
71
|
|
72
|
-
## License
|
73
|
-
|
74
|
-
The MIT License (MIT)
|
75
|
-
|
76
|
-
Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
|
77
72
|
|
78
73
|
### [SWI Prolog icon](https://github.com/exercism/xprolog/tree/master/img/icon.png)
|
79
74
|
|
80
|
-
The SWI Prolog "Owlie" logo is owned by the SWI Prolog maintainers and released under the Simplified BSD license. We have adapted it for use on Exercism, changing the colour scheme, with [the express permission of `anne@swiprolog.org`](https://github.com/exercism/xprolog/issues/1#issuecomment-283122027).
|
75
|
+
The SWI Prolog "Owlie" logo is owned by the SWI Prolog maintainers and released under the Simplified BSD license. We have adapted it for use on Exercism, changing the colour scheme, with [the express permission of `anne@swiprolog.org`](https://github.com/exercism/xprolog/issues/1#issuecomment-283122027).
|
data/tracks/purescript/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/purescript/README.md
CHANGED
@@ -73,11 +73,6 @@ explicitly described below.
|
|
73
73
|
To fix a bug you should [create a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) [here](https://github.com/exercism/xpurescript/pull). See also [here](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#git-basics) for more information.
|
74
74
|
|
75
75
|
|
76
|
-
## License
|
77
|
-
|
78
|
-
The MIT License (MIT)
|
79
|
-
|
80
|
-
Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
|
81
76
|
|
82
77
|
### Purescript icon
|
83
78
|
The PureScript logo was created by Gareth Hughes, and is licensed under the [Creative Commons Attribution 4.0 license](https://creativecommons.org/licenses/by/4.0/).
|
data/tracks/sml/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/tracks/sml/README.md
CHANGED
@@ -10,9 +10,4 @@ Please see SETUP.md for instructions on how to get started solving the SML exerc
|
|
10
10
|
|
11
11
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
12
12
|
|
13
|
-
## License
|
14
|
-
|
15
|
-
The MIT License (MIT)
|
16
|
-
|
17
|
-
Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
|
18
13
|
|
data/tracks/tcl/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/tcl/README.md
CHANGED
@@ -10,12 +10,7 @@ _Document how to contribute to the Tcl track._
|
|
10
10
|
|
11
11
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
12
12
|
|
13
|
-
## License
|
14
|
-
|
15
|
-
The MIT License (MIT)
|
16
|
-
|
17
|
-
Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
|
18
13
|
|
19
14
|
### Tcl icon
|
20
15
|
The Tcl icon was created by [Fant0men at en.wikipedia](https://en.wikipedia.org/wiki/User:Fant0men) and released under the [Creative Commons Attribution-ShareAlike 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/) license.
|
21
|
-
We adapted the icon, creating a black, pink and white version of it to use on Exercism.
|
16
|
+
We adapted the icon, creating a black, pink and white version of it to use on Exercism.
|
data/tracks/teco/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017 Exercism, Inc
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/tracks/teco/README.md
CHANGED
@@ -10,9 +10,4 @@ _Document how to contribute to the TECO track._
|
|
10
10
|
|
11
11
|
Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
|
12
12
|
|
13
|
-
## License
|
14
|
-
|
15
|
-
The MIT License (MIT)
|
16
|
-
|
17
|
-
Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
|
18
13
|
|