git @ Cat's Eye Technologies Samovar / whats-with-quotes
Improve tests. Chris Pressey 6 years ago
1 changed file(s) with 17 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3939 The same rules apply to most other "words" appearing in a Samovar
4040 description.
4141
42 scenario Pin_afore-1000 {
42 scenario Pin_afore-isn't-1000 {
4343 this-is-a-constructor(this-is-an-atom).
4444 }
4545
225225 }
226226 ===> "What a lovely brick this is!" says Ignatz, picking it up.
227227
228 scenario UntilHoldBrick {
229 [actor(?A),item(?I),~holding(?A,?I)] "What a lovely ?I this is!" says ?A, picking it up. [holding(?A,?I)]
230 actor(Ignatz).
231 item(brick).
232 goal [holding(Ignatz,brick)].
233 }
234 ===> "What a lovely brick this is!" says Ignatz, picking it up.
235
228236 Punctuation should be preserved sensibly.
229237
230238 scenario UntilHoldBrick {
231239 [actor(α),item(β),~holding(α,β)] "β, don't you know?" says α, picking it up. [holding(α,β)]
240 actor(Ignatz).
241 item(brick).
242 goal [holding(Ignatz,brick)].
243 }
244 ===> "brick, don't you know?" says Ignatz, picking it up.
245
246 scenario UntilHoldBrick {
247 [actor(?A),item(?I),~holding(?A,?I)] "?I, don't you know?" says ?A, picking it up. [holding(?A,?I)]
232248 actor(Ignatz).
233249 item(brick).
234250 goal [holding(Ignatz,brick)].