clojure-small-pieces
knot
clojure-small-pieces | knot | |
---|---|---|
1 | 2 | |
10 | 36 | |
- | - | |
0.0 | 0.0 | |
over 7 years ago | almost 8 years ago | |
TeX | Erlang | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clojure-small-pieces
-
Noweb – A Simple, Extensible Tool for Literate Programming
I've been writing literate programs for years
Here is a video showing a literate form of Clojure:
https://www.youtube.com/watch?v=mDlzE9yy1mk
The literate program creates a new PDF and a working version of Clojure, including running a test suite. If you change the literate code and type 'make' it re-makes the PDF with the new changes and rebuilds/retests Clojure.
and here is the source:
https://github.com/robleyhall/clojure-small-pieces
knot
-
Noweb – A Simple, Extensible Tool for Literate Programming
Literate programming seems to becoming popular in the R community due to KnitR and Rmarkdown. This seems to have sparked a few similar-working tools with possibly broader scope and adoption. In my bookmarks I find:
- knot [1]: tangles source code from a text file formatted using plain markdown syntax, can use any markdown converter for weaving into a printable document
- snarl [2]: extends markdown code blocks with syntax used for tangling, its "weave" steps just removes the additional syntax and outputs plain markdown
- pylit [3] [4]: a bidirectional converter: code to formatted text and back. Uses reST for formatting, and preserves line numbers which is useful when debugging. Not an LP tool strictly, as it doesn't define/rearrange code blocks so you have to write your script in the order the compiler wants it, not in the order that would make the best exposition.
Both seem to preserve relative indentation of chunks, so would be useful for Python too.
[1]: https://github.com/mqsoh/knot
-
babel/tangle alternatives? [de-emacs-sation]
I'm a fan of https://github.com/mqsoh/knot/
What are some alternatives?
Literate - A literate programming tool for any language
spiralweb - Literate programming system with a Pandoc-extended Markdown backend.
dotfiles - Yet another dotfile-repository
fw-utf8 - Modern fork of FunnelWeb (original written by Ross Williams)
emacs-init-generator - Ramblings in art and craft of Emacs init file configuration and Elisp.
portia - ultimate literate programing preprocessor
ntangle.vim - Literate programming in VIM