Literate
lmt
Literate | lmt | |
---|---|---|
4 | 3 | |
658 | 144 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | almost 2 years ago | |
D | Go | |
GNU General Public License v3.0 or later | MIT License |
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
lmt
-
Literate Programming: Articles
One more tool to accomplish this is lmt [0] which, despite minimal documentation, is quite pleasing to use.
[0] https://github.com/driusan/lmt
-
Literate programming: Knuth is doing it wrong
I personally use literate programming to maintain my "dotfiles", mainly NixOS [1], and I _love_ it. I like to describe all possible alternative tools, why I don't use them, possible tools that look nice, random ideas and blog posts that describe parts of my config, add TODOs and screenshots, ... in short everything that is really ugly to do inside source code comments. Also I gain structure; adding headings to a 3000 LOC config is very nice.
For tangling I use lmt [2], as it works with Markdown and also play nice with Emanote [3] (full syntax highlighting inside the code blocks.). That means all my "dotfiles" are inside my Zettelkasten [4] and can be navigated like any other note I have.
[1]: https://nixos.org/
[2]: https://github.com/driusan/lmt
[3]: https://github.com/srid/emanote
[4]: https://zettelkasten.de/
-
BSAG » NixOS and the Art of OS Configuration
I switched to NixOS half a year ago. The reason? I fell in love with literate programming (I use [1]); being able to write (and read) your whole OS configuration is the dream!
There are few bad sides to NixOS though.
The community consists mostly of programmers, which means I am missing some creative tools (mockups, mindmaps, ..). In the future I will be able to provide/build them myself, but it is not a smooth transition from my previous arch setup.
Also the whole documentation sucks: There are three (!) official manuals + the home-manager manual + Nix pills + YT + random blogs where I have to piece everything together.
Still I find NixOS superior to every other OS (windows, linux) I have tried so far. I just feel free and am not afraid to fuck up anything [2], as I can just go to a previous generation when it doesn't boot.
Lastly, as my config is in git, I am free to try new tools -- If I don't like them, I just remove their line in my config. No more chasing after random install folders!
[1]: https://github.com/driusan/lmt
What are some alternatives?
ntangle.vim - Literate programming in VIM
notebook-mode - GNU Emacs notebook mode
verso - A new approach to literate programming.
emanote - Emanate a structured view of your plain-text notes
noweb - The noweb tool for literate programming
itypescript - ITypescript is a typescript kernel for the Jupyter notebook (A modified version of IJavascript)
clojure-small-pieces - Clojure in Small Pieces -- Literate Clojure - Created by Tim Daly
haskell-dbus - This repository is no longer actively maintained. Please use Andrey Sverdlichenko's fork instead:
dendron - The personal knowledge management (PKM) tool that grows as you do!
geom - 2D/3D geometry toolkit for Clojure/Clojurescript
literate-programming - Creating programs from Markdown code blocks
lit - a little preprocessor for literate programming