Note that the code requires a Moose image built on Pharo as this already have the correct fonts.

If you want to use it in the standard Pharo image without Moose you have to go to World menu, select "System" -> "Settings" to open the settings browser. Now go to Appearance and Freetype, disable and reenable it so platform fonts get loaded.
Then for the standard fonts select some "Source Code Pro" or "Source Sans Pro" like font and apply it as the font to use.

Thursday, February 20, 2014

One of the interesting additions in soon to be released Pharo 3.0 is the out of the box support for FileTree repositories in Monticello. With this you can easily store your source code also in the file system and use external versioning systems if you like.

A short example:
Create a new package "MyPackage" and add a new class:

In the Monticello Browser (after adding the package) click on "+Repository" to add a new repository and select "filetree://" to the package. The system will come up with a file dialog to query for a folder to use.

Now save your package and you will see that a subfolder "MyPackage.package" is created. It will also include files with the source code. Now yoou can use any external versioning system if you like.

Pillar is a markup syntax and and a project with associated tools to write and generate documentation and books. It is written in Pharo and covered with many unit tests.

Basically it is the wiki syntax part from Pier extracted into an own project (so it can be used independent from Pier CMS).

But it also adds many new features like exporting into HTML, LaTeX and markdown. You can use the Mustache templating engine, configure numbering of sections, customize the export, syntax highlight code blocks, ...

If you already use the soon to be released Pharo 3.0 you can just load it from the config browser easily and try out.

While it is nice that you can use this from within your Smalltalk environment and access it from your projects code the idea is to not only use it from within the development image.

The package contains command line handlers to run it from a shell and Damien also prepares installable packages to make it run on platforms like Ubuntu. This should increase the end user experience for people who just want to use it for writing documentation or books without ever touching the implementation itself.

Monday, February 03, 2014

There is not only work going on in the Pharo community regarding the new upcoming release 3.0.
There is also a lot of work done to find a clean bootstrap process for images which will (starting from minimal images) allow for better builds.
Read more.