Home

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 33. over 2 years by sebug
  2. 32. over 2 years by sebug
  3. 31. almost 4 years by sebug
  4. 30. almost 4 years by sebug
  5. 29. almost 4 years by sebug
  6. 28. almost 4 years by sebug
  7. 27. about 4 years by sebug
  8. 26. about 4 years by sebug
  9. 25. about 4 years by sebug
  10. 24. about 4 years by sebug
  11. 23. about 4 years by sebug
  12. 22. about 4 years by sebug
  13. 21. about 4 years by sebug
  14. 20. about 4 years by sebug
  15. 19. about 4 years by sebug
  16. 18. about 4 years by sebug
  17. 17. about 4 years by sebug
  18. 16. about 4 years by sebug
  19. 15. about 4 years by sebug
  20. 14. about 4 years by sebug
  21. 13. about 4 years by sebug
  22. 12. about 4 years by sebug
  23. 11. about 4 years by sebug
  24. 10. about 4 years by sebug
  25. 9. about 4 years by sebug
  26. 8. about 4 years by sebug
  27. 7. about 4 years by sebug
  28. 6. about 4 years by sebug
  29. 5. about 4 years by sebug
  30. 4. about 4 years by sebug
  31. 3. about 4 years by sebug
  32. 2. over 4 years by sebug
  33. 1. over 4 years by sebug
 

Scalit - bringing Literate Programming to Scala

The scalit tool suite allows you to write literate programs in the Scala programming language.

Latest Version

You can download the latest version directly from here:

Both versions require at least Scala version 2.7.1 final (which you can download here). Furthermore, you will need perltex.

Patching of the Scala compiler was tested with version 2.7.6 final.

If you like following the progress of Scalit more closely, you can also clone the Mercurial project as follows:

hg clone http://hg.assembla.com/scalit

Just don't forget to send me your patches in this case.

How to use Scalit

Useful resources

  • Look at a sample output of weave . To compile this yourself, download examplegraph.pdf and generate_graph.nw , weave with "sweave generate_graph.nw -idx t -o generate_graph.tex" and generate the pdf with "perltex --latex=pdflatex generate_graph.tex"
  • Here is a second example: Balls into bins
  • The noweb distribution, main source of inspiration and has the same syntax
  • Noweb mode for Emacs, by Thorsten Ohl, part of said distribution. Together with the scala mode from the Scala distribution (to be found under $SCALA_HOME/misc/scala-tool-support/emacs), you should be able to edit with the same comfort as normal source files.

License, author and bug reports

The scalit tool suite is distributed under the BSD-like Scala license. It iswas the work-in-progress semester project of Sebastian Gfeller.Gfeller, who still occasionally updates it. In the very likely case that you will find a bug in scalit, you should contact him.