tools.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ========================
  2. Tools available with Nim
  3. ========================
  4. The standard distribution ships with the following tools:
  5. - | `Hot code reloading <hcr.html>`_
  6. | The "Hot code reloading" feature is built into the compiler but has its own
  7. document explaining how it works.
  8. - | `Documentation generator <docgen.html>`_
  9. | The builtin document generator ``nim doc`` generates HTML documentation
  10. from ``.nim`` source files.
  11. - | `Nimsuggest for IDE support <nimsuggest.html>`_
  12. | Through the ``nimsuggest`` tool, any IDE can query a ``.nim`` source file
  13. and obtain useful information like the definition of symbols or suggestions for
  14. completion.
  15. - | `C2nim <https://github.com/nim-lang/c2nim/blob/master/doc/c2nim.rst>`_
  16. | C to Nim source converter. Translates C header files to Nim.
  17. - | `niminst <niminst.html>`_
  18. | niminst is a tool to generate an installer for a Nim program.
  19. - | `nimgrep <nimgrep.html>`_
  20. | Nim search and replace utility.
  21. - | nimpretty
  22. | ``nimpretty`` is a Nim source code beautifier,
  23. to format code according to the official style guide.
  24. - | `testament <https://nim-lang.github.io/Nim/testament.html>`_
  25. | ``testament`` is an advanced automatic *unittests runner* for Nim tests,
  26. is used for the development of Nim itself, offers process isolation for your tests,
  27. it can generate statistics about test cases, supports multiple targets (C, JS, etc),
  28. `simulated Dry-Runs <https://en.wikipedia.org/wiki/Dry_run_(testing)>`_,
  29. has logging, can generate HTML reports, skip tests from a file, and more,
  30. so can be useful to run your tests, even the most complex ones.