Header

Fuel works out of the box in Pharo from 1.1 up to 2.0 (checked at #20094).

Basic

For most users should be enough to just install the default packages:
Gofer it
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfFuel';
    load.
((Smalltalk at: #ConfigurationOfFuel) project version: '1.8') 
    load.

Development

Advanced users might want to install more than the default packages:
((Smalltalk at: #ConfigurationOfFuel) project version: '1.8') 
    load: 'DevelopmentGroup'.

Pharo 1.1

Additionally, Pharo 1.1 users must explicitly update Metacello before installing Fuel. To do that:
Gofer it
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfMetacello';
    load.
ConfigurationOfMetacello load.

Basic demo

| sourceArray loadedArray |
sourceArray := 
    Array 
        with: 'a string' 
        with: Transcript.
"Store to the file"
FLSerializer serialize: sourceArray toFileNamed: 'example.FL'. 
"Load from the file"
loadedArray := FLMaterializer materializeFromFileNamed: 'example.FL'. 
"The arrays are not the same"
[ sourceArray ~~ loadedArray ] assert.
"The strings are not the same"
[ sourceArray first ~~ loadedArray first ] assert.
[ sourceArray first = loadedArray first ] assert.
"The global instance Transcript is the same"
[ sourceArray second == loadedArray second ] assert.

Fuel works out of the box in Pharo from 1.1 up to 2.0 (checked at #20094).

Basic

For most users should be enough to just install the default packages:

Gofer it
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfFuel';
    load.
((Smalltalk at: #ConfigurationOfFuel) project version: '1.8') 
    load.

Development

Advanced users might want to install more than the default packages:

((Smalltalk at: #ConfigurationOfFuel) project version: '1.8') 
    load: 'DevelopmentGroup'.

Pharo 1.1

Additionally, Pharo 1.1 users must explicitly update Metacello before installing Fuel. To do that:

Gofer it
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfMetacello';
    load.
ConfigurationOfMetacello load.

Basic demo

| sourceArray loadedArray |
sourceArray := 
    Array 
        with: 'a string' 
        with: Transcript.
"Store to the file"
FLSerializer serialize: sourceArray toFileNamed: 'example.FL'. 
"Load from the file"
loadedArray := FLMaterializer materializeFromFileNamed: 'example.FL'. 
"The arrays are not the same"
[ sourceArray ~~ loadedArray ] assert.
"The strings are not the same"
[ sourceArray first ~~ loadedArray first ] assert.
[ sourceArray first = loadedArray first ] assert.
"The global instance Transcript is the same"
[ sourceArray second == loadedArray second ] assert.