Using Streams

A lesser-known feature of Dogelog Player notebooks is maybe its ability to process input text. In the case of Musser’s Shuffling example, we can use it to test directly in the notebook whether the line reading algorithm works correctly:


Picture 8: Lite Notebook processing input.

We invested a lot of effort in allowing output inside Dogelog Player notebooks. The plain output text in Musser’s Shuffling example only scratches the surface. We can use it to test directly in the notebook whether the line writing algorithm works correctly:


Picture 8: Lite Notebook generating output.

Kommentare