README (706B)
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). For more, see the code. 15 16 [1] https://harelang.org