https://github.com/exercism/d
Exercism exercises in D.
https://github.com/exercism/d
community-contributions-paused exercism-track unmaintained
Last synced: 3 months ago
JSON representation
Exercism exercises in D.
- Host: GitHub
- URL: https://github.com/exercism/d
- Owner: exercism
- License: mit
- Created: 2014-03-24T14:55:04.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T05:05:38.000Z (about 1 year ago)
- Last Synced: 2024-05-01T11:25:14.867Z (about 1 year ago)
- Topics: community-contributions-paused, exercism-track, unmaintained
- Language: D
- Homepage: https://exercism.org/tracks/d
- Size: 529 KB
- Stars: 19
- Watchers: 12
- Forks: 29
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Exercism D Track
[](https://github.com/exercism/d/actions/workflows/tests.yml?query=branch%3Amain)
[](https://github.com/exercism/d/issues)
[](https://github.com/exercism/d/network)
[](https://raw.githubusercontent.com/exercism/d/master/LICENSE)**`D`** is one of many programming languages you can study on [exercism.org](https://exercism.org/).
This repo holds all the instructions, tests, code, & support files for D _exercises_ currently under development or implemented & available for students.
If you haven't already, you can check out and study the live language track [here](https://exercism.org/tracks/d).π Β Β The test runner is currently using the DMD compiler v2.109.0.
## Filenames
Each exercise is identified by a slug.
The slug is all lower-case, and if it is multiple words, it is hyphenated.E.g. `circular-buffer`.
The following conventions are used when adding a new exercise:
* Name the directory `$SLUG`
* Place the tests in `source/$SLUG.d`, replacing hyphens with underscores.
* Place the example solution in `example/$SLUG.d`, replacing hyphens with underscores.
* Add a file named `dub.sdl` with two lines: `name "$SLUG"` and `buildRequirements "disallowDeprecations"`.E.g.
```
$ tree exercises/circular-buffer
exercises/circular-buffer/
βββ dub.sdl
βββ source
β βββ circular_buffer.d
βββ example
βββ circular_buffer.d2 directories, 3 files
```## Contributing
If you're having trouble getting this project set up locally, please open an issue and we'll help you get it sorted (and then see about improving the documentation).
There is useful Exercism-wide documentation about contributing to language tracks in the [exercism/docs](https://github.com/exercism/docs/blob/master/language-tracks/README.md) repository.
## D icon
The D "Digital Mars" logo is owned by Digital Mars, Inc. Digital Mars, Inc. allows anyone to use, modify and redistribute the logo provided that the copyright holder is properly attributed. The original image is part of the D programming language "dlang.org" source repository, released under version 1.0 of the Boost Software License. We have modified the image, changing the colour scheme, to create the D icon for Exercism.