getDerivations: n
| tmp |
tmp := FillInTheBlank request: ’derivation ’ , n asString , ’ ?’
initialAnswer: ’’.
tmp := tmp copyWithoutAll: {32 asCharacter. 9 asCharacter}.
"espace"
"tabulation"
tmp = ’’
ifTrue: [^ nil]
ifFalse: [reglesDerivation
at: (tmp at: 1)
put: (tmp copyFrom: 3 to: tmp size).
self getDerivations: n + 1]
|
|