3 ms·
The more flexibility a language gives you in the order you place your code, the better it is for literate programming. If you haven't seen it yet, check out th
by jewel 12y ago
The more flexibility a language gives you in the order you place your code, the better it is for literate programming. If you haven't seen it yet, check out the source code to coffeescript.
Here is the source file: https://github.com/jashkenas/coffeescript/blob/master/src/grammar.coffee https://github.com/jashkenas/coffeescript/blob/master/src/gr...
Here is a nicely rendered version of the same file: http://coffeescript.org/documentation/docs/grammar.html http://coffeescript.org/documentation/docs/grammar.html
Also see literate coffeescript, a mode that seamlessly integrates markdown. I'd give up vim for a environment that lets me embed images, embed SVG diagrams, use those SVG diagrams at compile time to generate code, etc.
- kazinator 12y agoIt's a nice sentiment there in your last sentence, but good luck with your git repo, merging parallel changes from multiple developers to your compilable SVG diagrams. :)
- Crito 12y agoI really like this experimental racket language: http://docs.racket-lang.org/unstable/2d.html http://docs.racket-lang.org/unstable/2d.html I think that done correctly, this sort of concept has a lot of potential. Editor support is pretty necessary though, since without it editing that code would mess with your ascii-art formatting.