Literate
ntangle.vim
Literate | ntangle.vim | |
---|---|---|
4 | 1 | |
658 | 20 | |
- | - | |
0.0 | 2.7 | |
about 2 years ago | over 3 years ago | |
D | Vim Script | |
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
ntangle.vim
-
Noweb – A Simple, Extensible Tool for Literate Programming
Here are a couple more projects that may or may not seem like Literate Programming, but are motivated squarely by its ethos: to order code for exposition, independent of what the compiler wants.
* https://github.com/snaptoken, the engine behind https://viewsourcecode.org/snaptoken/kilo. The key new feature here seems to be that fragments are always shown in context that can be dynamically expanded by the reader.
* https://github.com/jbyuki/ntangle.vim -- a literate system that tangles your code behind the scenes every time you :wq in Vim or Neovim.
* My system of layers deemphasizes typesetting and is designed to work within a programmer's editor (though IDEs will find it confusing): http://akkartik.name/post/wart-layers. I don't have a single repo for it, mostly[1] because it's tiny enough to get bundled with each of my projects. Perhaps the most developed place to check out is the layered organization for a text editor I built in a statement-oriented language with built-in support for layers: https://github.com/akkartik/mu1/tree/master/edit#readme. It's also in my most recent project, though it's only used in a tiny bootstrapping shim before I wormhole solipsistically into my own universe: https://github.com/akkartik/mu/blob/main/tools/tangle.readme.... Maybe one day I'll have layers in this universe.
[1] And also because I think example repos are under-explored compared to constant attempts at reusable components: http://akkartik.name/post/four-repos
What are some alternatives?
verso - A new approach to literate programming.
dotfiles - Yet another dotfile-repository
noweb - The noweb tool for literate programming
portia - ultimate literate programing preprocessor
lmt - literate markdown tangle
clojure-small-pieces - Clojure in Small Pieces -- Literate Clojure - Created by Tim Daly
fw-utf8 - Modern fork of FunnelWeb (original written by Ross Williams)
dendron - The personal knowledge management (PKM) tool that grows as you do!
knot - A literate programming tool that uses Markdown.
literate-programming - Creating programs from Markdown code blocks
spiralweb - Literate programming system with a Pandoc-extended Markdown backend.