4 ms·
Didn't know about Babel, but yes, that's about what LEO offers too.
by grok2 8y ago
Didn't know about Babel, but yes, that's about what LEO offers too.
- hsitz 8y agoAFAIK LEO is limited to Python. Orgmode supports, I believe, 50+ different languages: https://orgmode.org/worg/org-contrib/babel/languages.html https://orgmode.org/worg/org-contrib/babel/languages.html
- BeetleB 8y agoI haven't tried it, but I believe it's easy/moderate to modify Leo to support other languages. It just supports Python out of the box. Someone just has to come along and have a need for it. Apparently one can use Leo like the Jupyter notebook, and indeed Leo can interface with Jupyter notebooks. I never tried that aspect of it, though.
- PurpleRamen 8y agoWhen you speak about executing code, then yes, out of the box it's limited to python. But literate programming is not executing code, but templating text and generating output-files. Leo can do this with any language, and has syntax-support for the most important ones out of the box. Additionally it's realtive simple to extend the executing-support for any language you want. Leo is quite extendable in python.
- hsitz 8y agoOrgmode has support for both executing code and for literate programming -- incl. of course tangling and weaving -- in many, many languages.