Literate
dotfiles
Literate | dotfiles | |
---|---|---|
4 | 4 | |
658 | 50 | |
- | - | |
0.0 | 8.1 | |
about 2 years ago | 15 days ago | |
D | Emacs Lisp | |
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
dotfiles
-
Bad Emacs Defaults
Heh, I recently did a "clean sweep" of my .emacs files (inspired by the new support for `$XDG_CONFIG_HOME/config/emacs/init.el` in 27.1) and something like 90% of it was workarounds (some dating back to the late 1990s, for example a "vertical-motion-fix" for something that was fixed in emacs 19.29)
I definitely recommend doing some form of "dotfile bankruptcy" every 20 years or so :-)
(I also ended up doing a crude "load-file-literate" so that now most of my elisp is actually markdown, inspired by https://github.com/skx/dotfiles )
-
Bikeshedding Friday: How do you organize your init file?
I keep meaning to explore using org-mode for this. At the moment I have a trivial init.el which loads a literate markdown file init.md.
-
Noweb – A Simple, Extensible Tool for Literate Programming
I keep meaning to experiment with bable/tangle in Emacs.
I setup a simple literate configuration of my init file via markdown, which worked out really well, but doing it "properly" in org-mode would be a nice evolution.
With markdown I just search for code-blocks, write them all sequentially to a temporary buffer and evaluate once done. So it is very simplistic, but also being able to write and group things is useful:
https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md
-
What parts of your config do you like best?
~/.emacs.d/init.el the helper, which loads/executes it.
What are some alternatives?
ntangle.vim - Literate programming in VIM
verso - A new approach to literate programming.
dotemacs - My emacs configuration.
noweb - The noweb tool for literate programming
fw-utf8 - Modern fork of FunnelWeb (original written by Ross Williams)
lmt - literate markdown tangle
ob-restclient.el - An org-mode extension to restclient.el
clojure-small-pieces - Clojure in Small Pieces -- Literate Clojure - Created by Tim Daly
spiralweb - Literate programming system with a Pandoc-extended Markdown backend.
dendron - The personal knowledge management (PKM) tool that grows as you do!