Hacker News new | past | comments | ask | show | jobs | submit login

> imagine keeping code in Emacs's Org mode and being able to compile it.

Something like this

https://github.com/nakkaya/ferret

The whole source code is in literate form in one org file.




well that is very cool. Unfortunately the original HN posts title failed to mention that was meant for embedded control systems which is probablly why I missed reading it! The HN post can be found here :-

https://news.ycombinator.com/item?id=14951116

and the literate source code is here ...

https://github.com/nakkaya/ferret/blob/master/ferret.org


Nice. Someone actually used Literate programming to write something useful :-). The ferret org-mode info is very readable.


Perhaps the most insane example of literate programming is Axiom [https://en.wikipedia.org/wiki/Axiom_(computer_algebra_system...], which is several books worth.

It wasn't originally written in literate style, but it was a very large codebase which almost nobody understood. Tim Daly put an enormous amount of effort into making it literate, so that anybody can be introduced to it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: