1. 10

crazy idea i had; feel free to suggest radical improvements :)


  2. 5

    Suggestion: make it into a quine.

    1. 2

      Rust can test examples in markdown files by the way, though it’s deactivated as a standard behavior. (At least, in cargo)

      For running tests manually, use:

      $ rustdoc --test README.md

      It uses the same machinery as the docstring tests. (which are activated by default)

      Alternatively use https://github.com/brson/rust-skeptic

      Also, how is this “crazy”? It’s perfectly well-aligned with the idea of tested documentation.

      1. 1

        The first commit roughly sums up my opinions on this:

        first pass at this insanity