Skip to content

Commit

Permalink
Bump ><>, make x a no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
JRaspass committed Nov 21, 2020
1 parent d060bba commit 8072419
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ COPY --from=codegolf/lang-brainfuck ["/", "/langs/brainfuck/rootfs/" ] # 1.59 M
COPY --from=codegolf/lang-c ["/", "/langs/c/rootfs/" ] # 1.58 MiB
COPY --from=codegolf/lang-bash ["/", "/langs/bash/rootfs/" ] # 1.15 MiB
COPY --from=codegolf/lang-sql ["/", "/langs/sql/rootfs/" ] # 1.02 MiB
COPY --from=codegolf/lang-fish ["/", "/langs/fish/rootfs/" ] # 579 KiB
COPY --from=codegolf/lang-fish ["/", "/langs/fish/rootfs/" ] # 570 KiB
COPY --from=codegolf/lang-lua ["/", "/langs/lua/rootfs/" ] # 314 KiB

COPY run-lang.c ./
Expand Down
2 changes: 1 addition & 1 deletion docker/live.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COPY --from=codegolf/lang-brainfuck ["/", "/langs/brainfuck/rootfs/" ] # 1.59 M
COPY --from=codegolf/lang-c ["/", "/langs/c/rootfs/" ] # 1.58 MiB
COPY --from=codegolf/lang-bash ["/", "/langs/bash/rootfs/" ] # 1.15 MiB
COPY --from=codegolf/lang-sql ["/", "/langs/sql/rootfs/" ] # 1.02 MiB
COPY --from=codegolf/lang-fish ["/", "/langs/fish/rootfs/" ] # 579 KiB
COPY --from=codegolf/lang-fish ["/", "/langs/fish/rootfs/" ] # 570 KiB
COPY --from=codegolf/lang-lua ["/", "/langs/lua/rootfs/" ] # 314 KiB

COPY --from=0 /go/code-golf /
Expand Down
2 changes: 1 addition & 1 deletion hole/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Play(ctx context.Context, holeID, langID, code string) (score Scorecard) {
case "c-sharp", "f-sharp":
cmd.Args = []string{"/compiler/Compiler", "-"}
case "fish":
cmd.Args = []string{"/usr/bin/fish", "-c", code, "-u"}
cmd.Args = []string{"/usr/bin/fish", "--no-prng", "-c", code, "-u"}
case "haskell", "php":
cmd.Args = []string{"/usr/bin/" + langID, "--"}
case "j":
Expand Down
4 changes: 2 additions & 2 deletions langs.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
['><>']
size = '579 KiB'
version = 'bde83aa'
size = '570 KiB'
version = 'd1b38f9'
website = '//github.com/primo-ppcg/fish-jit'
example = '''
\ printing
Expand Down
2 changes: 1 addition & 1 deletion langs/fish/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.12 as builder

RUN mkdir /empty

ENV PY_VERSION=3.7-v7.3.2 VERSION=bde83aa
ENV PY_VERSION=3.7-v7.3.2 VERSION=d1b38f9

RUN apk add --no-cache curl gcc linux-headers make musl-dev python2

Expand Down
3 changes: 3 additions & 0 deletions views/hole.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ <h1>{{ .Data.Hole.Name }}</h1>
</table>
<div id=editor></div>
</div>
<div class="info fish">
ARGV is available via STDIN, joined on NULL. <b>x</b> is a no-op.
</div>
<div class="info javascript">
<b>arguments</b> holds ARGV, <b>print()</b> to output with a newline,
<b>write()</b> to output without a newline.
Expand Down

0 comments on commit 8072419

Please sign in to comment.