Old lady swallowed a fly: Difference between revisions

Content added Content deleted
No edit summary
Line 208: Line 208:


=={{header|Babel}}==
=={{header|Babel}}==
<lang babel>((main {fly !})
<lang babel>-- hello.sp

((main {fly !})


(fly
(fly
Line 220: Line 222:
iter 1 - 0 animal ! nl <<
iter 1 - 0 animal ! nl <<
{"She swallowed the " <<
{"She swallowed the " <<
prev_iter ! 0 animal ! <<
this_iter ! 0 animal ! <<
" to catch the " <<
" to catch the " <<
this_iter ! 0 animal ! nl <<
next_iter ! 0 animal ! nl <<
{iter 2 =}
{iter 2 =}
{8 1 animal ! nl <<}
{8 1 animal ! nl <<}
Line 235: Line 237:
times})
times})


(this_iter {10 iter - })
(next_iter {10 iter - })
(prev_iter {this_iter ! 1 -})
(this_iter {next_iter ! 1 -})


(animal { <- <- animals -> ith -> ith})
(animal { <- <- animals -> ith -> ith})
Line 251: Line 253:
("bird" "Quite absurd to swallow a")
("bird" "Quite absurd to swallow a")
("spider" "That wriggled and jiggled and tickled inside her")
("spider" "That wriggled and jiggled and tickled inside her")
("fly" " "))))</lang>
("fly" " "))))
</lang>


=={{header|C}}==
=={{header|C}}==