Literate | golem | |
---|---|---|
4 | 3 | |
651 | 7 | |
- | - | |
0.0 | 4.3 | |
almost 2 years ago | 3 months ago | |
D | Shell | |
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
golem
-
SSH Quoting
This is the method I ended up using for golem (https://github.com/robsheldon/golem), a tool I wrote for executing server documentation on remotes. Shell quoting was by far the hardest part to get right, and the base64 pipe was the only solution that correctly handled all forms of quoting embedded in the scripts.
-
Literate: A Flexible Literate Programming System
I've seen a few posts here recently on literate programming; I really hope it takes hold as a trend.
A couple of months ago I released a "literate devops" tool: https://github.com/robsheldon/golem/
It extends https://github.com/bashup/mdsh so that you can execute shell code, embedded in markdown, on remote servers. I hope someday that documented server management becomes the standard.
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
I use this pattern a lot along with a tool I built for doing server deployments and administration using plain old shell scripts and ssh (golem: https://github.com/robsheldon/golem/).
There are two caveats:
First, if there's any chance at all that the heredoc may contain a $, or a `, or possibly some other shell-magical characters, then you have to use a single-quoted heredoc:
cat <<'EOF'...
What are some alternatives?
ntangle.vim - Literate programming in VIM
jtree - Build your own language using Tree Notation.
verso - A new approach to literate programming.
motllo - Project templates without needing a repository
dendron - The personal knowledge management (PKM) tool that grows as you do!
blog.treenotation.org - Blog of the Tree Notation Lab
noweb - The noweb tool for literate programming
many-to-one - Sync and keep in sync multiple files to one file
clojure-small-pieces - Clojure in Small Pieces -- Literate Clojure - Created by Tim Daly
nasty-files - Some files with nasty names
dotfiles - Yet another dotfile-repository
gomplate - A flexible commandline tool for template rendering. Supports lots of local and remote datasources.