r/LitProg • • Jun 03 '25

Organic Markdown -- Literate Programming Tool

4 Upvotes

I've been working on my own version of a literate programming system (https://github.com/adam-ard/organic-markdown)  that's inspired by emacs org-mode. But, because it's based on standard pandoc-style markdown, you can use it with a much wider range of tools. Any markdown editor will do.

Even though I made it as a toy/proof of concept, it's turned out to be pretty useful for small to medium size projects. As I've used it, I've found all kinds of interesting benefits and helpful usage patterns. I've tried to document some; I hope to do more soon. 

--https://rethinkingsoftware.substack.com/p/the-joy-of-literate-programming

--https://rethinkingsoftware.substack.com/p/organic-markdown-intro

--https://rethinkingsoftware.substack.com/p/dry-on-steroids-with-literate-programming

--https://www.youtube.com/@adam-ard/videos

The project is at a very early stage, but is finally stable enough that I thought it'd be fun to throw out here and see what people think. It's definitely my own unique spin on literate programming and it's been a lot of fun. See what you think!


r/LitProg • • Aug 25 '25

Narrative Programming - an evolution

3 Upvotes

I've developing my own thoughts on how to co-join the art of storytelling with the craft of programming; it hinges on adding exposition using a narrative grammar to source code so that an orthogonally structured narrative arc can be extracted from a code base that has been written in metaphor-rich story-parts... I have 3 articles that develop the ideas and one exemplar GitHub repository:

First article, introduces fundamental concepts but just looks at charting

Theoretical first development of a grammar

Experience of writing code like this

A code base writtten as story

I guess that's a lot of info so REALLY happy to enter direct discussion if anyone prefers...

CHEERS


r/LitProg • • Nov 15 '25

Mechdown - A New Literate Programming Tool

3 Upvotes

Hi all,

I'm the author of a programming language called Mech, which treats literate programming as a first-class citizen through a markup language called Mechdown.

I've written a blog post demonstrating Mechdown's capabilities, with an extended literature review on contemporary and historical literate programming tools. You can read it here: https://mech-lang.org/post/2025-11-12-mechdown

I'm looking for feedback from people who are into literate programming and have some ideas about new features and directions for literate programing tools; I'm trying to push literate programming to be more than just notebooks with executing cells. If you'd like to discuss more feel free to message me or join the discord!

https://github.com/mech-lang/mech


r/LitProg • • May 05 '23

Noweb does not cross-reference Perl identifiers delimited on the left by @

Thumbnail
stackoverflow.com
1 Upvotes

r/LitProg • • May 04 '23

Literate LaTeXing -- org babel tangle -- superfluous \end{document} required.

Thumbnail self.orgmode
1 Upvotes

r/LitProg • • Jul 27 '23

Jupyter Notebook Version 7 release announcement

Thumbnail
blog.jupyter.org
1 Upvotes

r/LitProg • • Sep 19 '23

CatalaLang/catala: Programming language for law specification

Thumbnail news.ycombinator.com
1 Upvotes

r/LitProg • • May 18 '23

Announcing this subreddit at LQ.org

1 Upvotes

r/LitProg • • Aug 15 '23

literate-calc-mode.el: 🧮 Literate programming for M-x calc

Thumbnail
github.com
1 Upvotes

r/LitProg • • May 18 '23

InWeb, an advanced literate programming system made for the Inform interactive fiction language. Includes export to HTML.

Thumbnail
github.com
4 Upvotes

r/LitProg • • Jun 19 '23

Inform 7 - a programming language for creating interactive fiction

4 Upvotes

"Inform is a programming language for creating interactive fiction, using natural language syntax. Using natural language and drawing on ideas from linguistics and from literate programming, Inform is widely used as a medium for literary writing, as a prototyping tool in the games industry, and in education, both at school and university level (where Inform is often assigned material for courses on digital narrative). It has several times ranked in the top 100 most influential programming languages according to the TIOBE index. Created in April 2006, it was open-sourced in April 2022."

https://ganelson.github.io/inform-website/


r/LitProg • • Jul 05 '23

Have any of you any experience with using CWEB with GCC?

Thumbnail self.c_programming
1 Upvotes

r/LitProg • • Sep 19 '23

Literate Ansible Playbooks

Thumbnail self.orgmode
1 Upvotes

r/LitProg • • May 19 '23

Integration tests that write your docs

2 Upvotes

r/LitProg • • Jun 16 '23

Ugly indentation arrows in solid gray blocks when re-writing an org document using literate programming

Thumbnail
self.doomemacs
1 Upvotes

r/LitProg • • May 18 '23

LitProg forum reopened at r/LitProg

Thumbnail self.orgmode
1 Upvotes

r/LitProg • • Apr 25 '23

welcome to the LitProg subreddit

1 Upvotes

This subreddit is intended to pick up where comp.programming.literate and the LitProg mailing list left off. Cheers! Edward


r/LitProg • • May 25 '23

announcing: a new Vim syntax highlighting plugin for Noweb source files

2 Upvotes

I am releasing a Vim syntax highlighting plugin for Noweb source files at https://metaed.com/papers/vim-noweb/.

This plugin highlights Noweb syntax, but it also highlights the syntaxes of the embedded code blocks, when it knows them.

The files available are: the complete source (in Noweb format, naturally), the technical manual in Portable Document Format (PDF), and a specimen showing the syntax highlighting.

This has not been released before. It works for me. I would be glad for feedback on how it works for you.

In particular, I can easily add support for more language-specific syntax highlighting within embedded code blocks. Which languages would be useful?


r/LitProg • • Jun 07 '23

What is literate programming used for?

Thumbnail self.emacs
1 Upvotes

r/LitProg • • May 02 '23

GPL 3 for Literate Programming

Thumbnail self.freesoftware
1 Upvotes

r/LitProg • • Apr 25 '23

r/LitProg Lounge

1 Upvotes

A place for members of r/LitProg to chat with each other


r/LitProg • • May 04 '23

Share your Neovim configuration for Org-mode setup.

Thumbnail self.neovim
1 Upvotes

r/LitProg • • May 19 '23

Tangle-Up versus Tangle-Down

3 Upvotes

I almost succeeded in getting a friend to adopt Literate Programming, but he stopped me with one question: "If I change the source files on disk, say with a debugger or IDE, can you read them back up into tangle blocks of the source document?" Well, I couldn't. I thought about it and attempted a solution, but the general case of maintaining consistency of (say) an org-babel doc and (say) a PyCharm project directory was too hard and I gave up.

The tangle-down direction is easy: strip code blocks from the doc and lay them out on disk for the build system.

The tangle-up direction is hard: create / update / delete noweb blocks in the doc in some kind of repairable order given (say) a git status or git diff output.

It sounds do-able, but a lot of work.

Anyone else attempting or succeeded? My friend asserted that "no one who uses IDEs, and that's everyone except a few crazies like you who don't mind working too hard, will ever adopt LP until this problem is completely solved and integrated with (say) VSCode or (say) PyCharm." :)