Forum Archive

Literate Source Code Published

Stefano

Explain and Code.

Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. — Donald E. Knuth

The workflow has been uploaded to the directory : http://editorial-app.appspot.com/workflow/6403405396312064/tV42vb3ZIGE.

It allows to extract source code from the Markdown ( documentation ) file. See https://github.com/StefanoRausch/Literate-Source-Code for more information.

Happy literate source coding!

filippocld223

can you write an example?

Stefano

Sure. Have a look at the Gruntfile.js implementation for a JavaScript example.

You can use LSC for any programming / markup language. I do primarily use it for Java / CoffeeScript, CSS / Sass and HTML.