Literate
knot
Literate | knot | |
---|---|---|
4 | 2 | |
651 | 36 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | almost 8 years ago | |
D | Erlang | |
GNU General Public License v3.0 or later | - |
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.
Literate
-
Wrote a literate programming script, this lets you write code like you would on jypiter notebook or on Emacs literate. It is language independent and only has a python dependency
What does your Literate.py implementation offer over the https://github.com/zyedidia/Literate app written in D?
-
BSAG » NixOS and the Art of OS Configuration
That sounds like a nice way to do it, too. I heard about it before, but don't know R, so I didn't really consider it.
The reason I chose lmt is that it correctly keeps the markdown language syntax of the code blocks. That means I can put my literate config into my Zettelkasten [1] or [2] and watch it pretty-print in the browser.
There are also literate [3] and org-babel [4], but I don't think they are future proof. .lit is a random format and .org basically requires Emacs+orgmode.
1: https://github.com/srid/emanote
2: https://wiki.dendron.so/
3: https://github.com/zyedidia/Literate
4: https://orgmode.org/worg/org-contrib/babel/intro.html
- Literate: A Flexible Literate Programming System
- Noweb – A Simple, Extensible Tool for Literate Programming
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?
ntangle.vim - Literate programming in VIM
spiralweb - Literate programming system with a Pandoc-extended Markdown backend.
verso - A new approach to literate programming.
fw-utf8 - Modern fork of FunnelWeb (original written by Ross Williams)
dendron - The personal knowledge management (PKM) tool that grows as you do!
emacs-init-generator - Ramblings in art and craft of Emacs init file configuration and Elisp.
noweb - The noweb tool for literate programming
clojure-small-pieces - Clojure in Small Pieces -- Literate Clojure - Created by Tim Daly
portia - ultimate literate programing preprocessor
dotfiles - Yet another dotfile-repository