Track proposal: Sather

Sather is an object-oriented programming language from 1990, that has much is common with Eiffel. See the Wikipedia page and a Dr Dobbs Journal article for more.

It is a language I always wanted to learn, and an Exercism learning mode might provide the perfect way.

prototype track with LLM concept exercises.

prototype test runner

compiler ported to ISO C

2 Likes

It seems the compiler port holds the whole track together from running tests to students being able to work locally. Will track maintainers be expected to maintain that port going forward? What if the track goes unmaintained for whatever reason? Would someone else be reasonably able to jump in to maintain things with or without a LLM?

For the test runner, we can download a couple of files from https://ftp.gnu.org/gnu/sather/, perhaps apply a small patch, and build. For example, the garbage collector is distributed separately, and one Sather 1.2.2 C header assumes int is 32 bits except on ALPHA. (Sather 1.2.3 addresses that last one, but also changes the license to GPL 3.)

For students, following those build instructions might be an unnecessary burden. So then we could use the GDScript approach where students use the test runner, or we can instead point students to a repo that a maintainer or Exercism controls.

1 Like

Seems reasonable, thanks.

Sounds interesting! Track and test repo have been created.

1 Like

For any maintainers who would like to be the first ever to solve Sather exercises, Sieze The Day. https://exercism.org/tracks/sather/

PRs to replace or improve concept wording are most welcome.

The comments within practice exercise stubs will be removed before launch.

The Stage Direction concept exercise should provide stubs for all the routines. Working in the online editor, I’m accustomed to implementing one task as a time, and the solution can’t be compiled that way:

Done. The concept exercises now provide compilable placeholder implementations for every routine.

The next step will be to update the test runner so it shows which tasks are completed or not completed. The current Sather test runner claims to implement version 3 of the Test Runner Interface, but it does not.

1 Like

The test runner is updated. It now implements version 3 of interface correctly.

Happy iterating!

2 Likes

Awesome. Great work! :slight_smile:

Cool stuff!

The track is syllabus-complete and icon-complete. I am ready for a holiday.

The GNU documentation links are currently broken. We can instead invite people to download a .gz from https://ftp.gnu.org/gnu/sather/Doc/

The current (LLM-generated) instructions for testing locally using the test runner image are not launch ready. I haven’t used them, instead I have been solving exercises online. I think we will need to add a convenience script to the test runner.

Some people prefer using podman over docker . Which should exercism test use?

4 Likes