Skip to content

Commit 7bca306

Browse files
committed
Make "jq" live
Closes #240
1 parent 11dbfc2 commit 7bca306

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

config/data/langs.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,11 @@ for (let arg of arguments)
768768
'''
769769

770770
[jq]
771-
args = [ '/usr/bin/jq', '-nr', '$code', '--args' ]
772-
experiment = 240
773-
size = '3.41 MiB'
774-
version = '1.7.1'
775-
website = 'https://jqlang.github.io/jq/'
776-
example = '''
771+
args = [ '/usr/bin/jq', '-nr', '$code', '--args' ]
772+
size = '3.41 MiB'
773+
version = '1.7.1'
774+
website = 'https://jqlang.github.io/jq/'
775+
example = '''
777776
# Printing
778777
"Hello, World!",
779778

hole/play.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func play(
312312
case "jq":
313313
// Prevent trivial quines. Error out and return early.
314314
if hole.ID == "quine" && json.Valid([]byte(code)) {
315-
run.Stderr = "Quine in jq musn't be valid JSON."
315+
run.Stderr = "Quine in jq must not be valid JSON."
316316
return nil
317317
}
318318
case "k":

sql/a-schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ CREATE TYPE lang AS ENUM (
6666
'civet', 'clojure', 'cpp', 'cobol', 'coconut', 'crystal', 'd', 'dart',
6767
'elixir', 'f-sharp', 'factor', 'fish', 'forth', 'fortran', 'go',
6868
'golfscript', 'haskell', 'hexagony', 'j', 'janet', 'java', 'javascript',
69-
'julia', 'k', 'lisp', 'lua', 'nim', 'ocaml', 'pascal', 'perl', 'php',
70-
'powershell', 'prolog', 'python', 'r', 'raku', 'rockstar', 'ruby', 'rust',
71-
'sed', 'sql', 'swift', 'tcl', 'tex', 'v', 'viml', 'wren', 'zig'
69+
'jq', 'julia', 'k', 'lisp', 'lua', 'nim', 'ocaml', 'pascal', 'perl',
70+
'php', 'powershell', 'prolog', 'python', 'r', 'raku', 'rockstar', 'ruby',
71+
'rust', 'sed', 'sql', 'swift', 'tcl', 'tex', 'v', 'viml', 'wren', 'zig'
7272
);
7373

7474
CREATE TYPE medal AS ENUM ('unicorn', 'diamond', 'gold', 'silver', 'bronze');

0 commit comments

Comments
 (0)