diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-02 16:41:16 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-02 16:41:16 +0200 |
| commit | d5165f64c63b582d0e65e33a1f1f0f0644853669 (patch) | |
| tree | 52caeed4b333cd1e2fe24eff4fc95f5ff93a4107 /README | |
| download | lepa-d5165f64c63b582d0e65e33a1f1f0f0644853669.tar.gz lepa-d5165f64c63b582d0e65e33a1f1f0f0644853669.zip | |
Initial commit
Diffstat (limited to 'README')
| -rw-r--r-- | README | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -0,0 +1,16 @@ | |||
| 1 | This simple program, which I wrote mainly as an excuse to try out the Hare | ||
| 2 | programming language [1], reads a list of letter pairs from a file, then | ||
| 3 | prompts the user for commands. The interface is similar to that of ed(1). | ||
| 4 | The main command 'r' starts a random training session, which consists of | ||
| 5 | the program printing a random letter pair, waiting for the use to type | ||
| 6 | enter, print the text associated with the letter pair, waiting again and | ||
| 7 | repeating until EOF (Ctrl+D) is encountered. | ||
| 8 | |||
| 9 | To try it out run: | ||
| 10 | |||
| 11 | hare run lepa.ha example.txt | ||
| 12 | |||
| 13 | Then type 'r' followed by Enter to start the random training session. | ||
| 14 | Other commands include '?' (help) and 'q' (quit). | ||
| 15 | |||
| 16 | [1] https://harelang.org | ||
