Lesson 1: Introducing the Listener
Toka provides an interactive programming environment called the listener. This is a place where you can type commands and have Toka process them immediately. Debugging, testing, and general experimentation can be done here.
The listener is started when you start Toka, so doing the following is sufficient to start the listener:
bash# toka
When Toka starts you should see the following:
_____ _ |_ _|__ | | ____ _ | |/ _ \| |/ / _` | | | (_) | < (_| | |_|\___/|_|\_\__,_| Copyright (c) 2006 - 2007 Charles R. Childers
At this point you can type and Toka will process and respond as necessary. To begin with, you can exit Toka by entering bye and pressing ENTER. You can also exit Toka by pressing CTRL+D or CTRL+C.
NOTE: If you start a script from the command line, the copyright display will be suppressed.
changed October 14, 2007