Skip to content

exercism/nim

Folders and files

NameName
Last commit message
Last commit date
Jun 22, 2021
Apr 1, 2025
Mar 5, 2023
Jul 9, 2024
Mar 7, 2022
Jan 20, 2023
Jan 15, 2025
Jan 20, 2023
Dec 5, 2022
Oct 31, 2022
Feb 2, 2024
Aug 30, 2021
Jan 20, 2023
Apr 6, 2024

Repository files navigation

Exercism Nim Track

Exercism exercises in Nim

Contributing Guide

Please see the contributing guide.

Testing

The file _test/check_exercises.nim checks that the example solution for every implemented exercise passes that exercise's test suite. This repo runs that file during CI, and you can also run it on your own machine.

To test all the exercises, run:

nim r check_exercises.nim

To test a selection of exercises, run:

nim r check_exercises.nim [exercise-name] [...]

This finds all the relevant tests, processes them into a new directory for testing, and runs them. For more information, please read the documentation comments in _test/check_exercises.nim or run check_exercises with the --help option.

Nim icon

The Nim logo is assumed to be owned by Andreas Rumpf. It appears to be released under the MIT license, along with the Nim codebase. We've adapted the official Nim logo by changing the colors, which we believe falls under fair use.