Experiments for using GToolkit for computational documents
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BaselineOfComputationalDocuments Add ObservableSlot as a dependency Feb 15, 2019
ComputationalDocuments
.project First experiments Feb 1, 2019
.properties First experiments Feb 1, 2019
README.md

README.md

computational-documents-with-gtoolkit

Experiments with GToolkit for computational documents.

Installation in Pharo 7:

Metacello new
  baseline: 'ComputationalDocuments';
  repository: 'github://khinsen/computational-documents-with-gtoolkit';
  load.

Note that GToolkit is not included as a dependency because of its size. Moreover, the datasets can perfectly well be used without GToolkit, it is "merely" much less pleasant to inspect them.

There is a bug in Pharo 7 (fixed in Pharo 8) that affects some of the date conversions in the example. You can apply the correction by executing the following ocode in a playground:

Year compile: 'firstThursday
	"Return the year''s first Thursday.
	According to the ISO 8601 definition, the first week starts with the year''s first Thursday (week day number 5)"
	^ self start + ((5 - self start dayOfWeek + 7) rem: 7) days'.