exercism / nim-test-runner

GNU Affero General Public License v3.0
2 stars 3 forks source link

Consider adding some nimble packages #95

Open ee7 opened 3 years ago

ee7 commented 3 years ago

And fusion.

For security reasons, the package versions should be pinned more reliably than just the current Nimble-supported

requires "foo == 1.2.3"
ynfle commented 3 years ago

What would be the advantage? Do you think people use them?

fusion sounds good. Another others?

ee7 commented 3 years ago

I doubt that people really use them currently. But:

  1. We can give people the option to play with some interesting packages (e.g. npeg, gara, itertools, macroutils, result, zero-functional).
  2. Packages for benchmarking might be useful until the test runner does it automatically.
  3. We gain the ability to add new exercises that use external packages.
  4. We could adapt/extend existing exercises to use external packages. For example, as a bonus, diffie-hellman could use a big integers package.

But generally, I feel that some things that work on https://play.nim-lang.org should work in the v3 runner. See here for the packages that work in the playground.

And I remember trying some Exercism exercises with gara and zero-functional long before I was an Exercism contributor.