Skip to content

bin/verify-exercises-in-docker#17

Merged
petelomax merged 1 commit into
exercism:mainfrom
keiravillekode:verify-exercises-in-docker
May 18, 2026
Merged

bin/verify-exercises-in-docker#17
petelomax merged 1 commit into
exercism:mainfrom
keiravillekode:verify-exercises-in-docker

Conversation

@keiravillekode

Copy link
Copy Markdown
Contributor

This script is useful for testing exercises against a test runner.

@keiravillekode

Copy link
Copy Markdown
Contributor Author

1 of the 112 exercises currently fail, when using a downloaded exercism/phix-test-runner:latest

Verifying circular-buffer exercise...
circular-buffer: testing...
circular-buffer: done
{
 "version":1,
 "status":"fail",
 "message":" 21 tests run, 21 passed, 0 failed, 100% success
/usr/local/bin/builtins/pfile.e:272
        atom buffer = allocate(buflen), pbuf = buffer
             ^Warning: assumed to be a variable_id, not a type"
}

@petelomax

petelomax commented May 18, 2026

Copy link
Copy Markdown
Contributor

A without warning in test.exw should (hopefully) fix that, pushed just now.
Just in case, there's also two alternative "include first" and "make it circular_buffer" fixes in there as well now.

This script is useful for testing exercises against a test runner.
@keiravillekode keiravillekode force-pushed the verify-exercises-in-docker branch from 4faf44e to 2e02183 Compare May 18, 2026 06:19
@keiravillekode

Copy link
Copy Markdown
Contributor Author

All 112 exercises now pass.

@petelomax petelomax merged commit bfa555f into exercism:main May 18, 2026
2 checks passed
@keiravillekode keiravillekode deleted the verify-exercises-in-docker branch May 18, 2026 19:36
@keiravillekode

Copy link
Copy Markdown
Contributor Author

I was curious about a couple of things.

  • Have you considered moving your http://phix.x10.mx server to https ? There may be untrustworthy governments and/or ISPs between your server and your users.

  • What tasks remain before inviting other tracks' maintainers to test https://exercism.org/tracks/phix in preparation for launching the track?

@petelomax

petelomax commented May 19, 2026

Copy link
Copy Markdown
Contributor

https has long been on my todo list, and somewhat "ain't broke don't fix" to me.
Syntax colouring still doesn't work. Otherwise I've given up all hope of ever moving the Phix track along another inch.
There is nothing else I can do or try, my hands are completely tied. Oh, the representer's kaput too.

@keiravillekode

Copy link
Copy Markdown
Contributor Author

https has long been on my todo list, and somewhat "ain't broke don't fix" to me.

Syntax colouring still doesn't work. Otherwise I've given up all hope of ever moving the Phix track along another inch. There is nothing else I can do or try, my hands are completely tied.

I think of this as a "nice to have"

I would just look for a supported language that has similar syntax / tokens / vocabulary

8th/config.json:    "highlightjs_language": "plaintext"

cairo/config.json:    "highlightjs_language": "rust"

cfml/config.json:    "highlightjs_language": "javascript"

factor/config.json:    "highlightjs_language": "forth"

free-pascal/config.json:    "highlightjs_language": "delphi"

idris/config.json:    "highlightjs_language": "haskell"

lean/config.json:    "highlightjs_language": "haskell"

lfe/config.json:    "highlightjs_language": "lisp"

purescript/config.json:    "highlightjs_language": "haskell"

racket/config.json:    "highlightjs_language": "scheme"

raku/config.json:    "highlightjs_language": "perl"

rexx/config.json:    "highlightjs_language": "plaintext"

roc/config.json:    "highlightjs_language": "elm"

sqlite/config.json:    "highlightjs_language": "pgsql"

unison/config.json:    "highlightjs_language": "haskell"

vlang/config.json:    "highlightjs_language": "golang"

Oh, the representer's kaput too.

config.json has "representer": false so that won't cause problems.

A representer is another "nice to have"

Compared to the 82 launched tracks, there are only the 31 representer repos below; only 19 tracks have "representer": true in config.json

  - c-representer
  - clojure-representer
  - common-lisp-representer
  - cpp-representer
  - crystal-representer
  - csharp-representer
  - elixir-representer
  - elm-representer
  - emacs-lisp-representer
  - erlang-representer
  - fsharp-representer
  - gleam-representer
  - go-representer
  - haxe-representer
  - j-representer
  - jai-representer
  - java-representer
  - javascript-representer
  - julia-representer
  - nim-representer
  - phix-representer
  - php-representer
  - python-representer
  - raku-representer
  - red-representer
  - ruby-representer
  - rust-representer
  - typescript-representer
  - wasm-representer
  - wren-representer
  - zig-representer

@petelomax

Copy link
Copy Markdown
Contributor

BTDT. You can find codemirror/highlightjs/pygments doobries here:
https://github.com/petelomax?tab=repositories

If you can tell me why the phix-representer that's already in that list don't work, and what I can do about it...

@keiravillekode

Copy link
Copy Markdown
Contributor Author

I am simply a volunteer who maintains some other tracks, and was curious about the status of some unlaunched tracks. I am working on the Factor track.

I have never dealt with highlightjs but I think you need to make an npm and then post on the Exercism forum, and then you'll need to wait, I don't know how long.

Some threads I cam across:

https://forum.exercism.org/t/jq-syntax-highlighting/10585/5
https://forum.exercism.org/t/enabling-unison-specific-syntax-highlighting-for-our-exercism-track/2628/3

I have never dealt with representers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants