How to print Pharo / Squeak Smalltalk code?

What is the best way to print - color syntax and well formatted - code from Pharo / Squeak on paper?

1) Is there a way to print directly from Pharo / Squeak? (I use it on macosx)
2) Is there a way to export the syntax of color, well-formatted code from Pharo / Squak?
3) Are there external tools for color and formatting the filled code snippet?

+6
smalltalk printing syntax-highlighting squeak pharo
source share
5 answers

For the application in my main thesis, I used Pier CMS -to-LaTeX in the Pier-Documentation package. However, this plugin only takes into account class comments and method comments; it does not print the source code. Pier also provides the ShoutPier package to highlight the syntax of the Smalltalk code, so I guess it will take a little work to combine them. You can find the mentioned extension packs at http://source.lukas-renggli.ch/pieraddons.html .

+2
source share

Framed browsers seem to use syntax highlighting.

What difficulties do you read Smalltalk code with browsers and senders / developers?

Edit: can something that creates UML give the overview you are looking for ? Dandelion only shows downloads for older versions of Squeak - I don’t know if they will work with Pharo.

And perhaps this GSoC project "Create UML diagrams from Smalltalk code for Pharo" does not.

+1
source share

This is how I did it on my Mac, I think it should work on other platforms as well.

-Eric.

+1
source share

There is a webdoc project that allows you to move code in a web browser: http://ss3.gemstone.com/ss/webdoc.html (and, of course, you can print code from your favorite web browser).

+1
source share

1) Install a scream from www.squeaksource.com

2) I do not know. Maybe you can customize the scream.

3) In gnu-smalltalk, you have smalltalk mode for emacs. But I do not quite understand what you are looking for.

0
source share

All Articles