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> |
<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 " << |
||
this_iter ! 0 animal ! << |
|||
" to catch the " << |
" to catch the " << |
||
next_iter ! 0 animal ! nl << |
|||
{iter 2 =} |
{iter 2 =} |
||
{8 1 animal ! nl <<} |
{8 1 animal ! nl <<} |
||
Line 235: | Line 237: | ||
times}) |
times}) |
||
( |
(next_iter {10 iter - }) |
||
( |
(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" " ")))) |
("fly" " ")))) |
||
</lang> |
|||
=={{header|C}}== |
=={{header|C}}== |