TTY Recordings
Any recordings of Unix sessions I make will be listed on this index page.
- Converting an Algol 60 source from ASCII to Unicode
This uses Ecce embedded in EMACS. This version of Ecce has been modified
to add a 'z' command which works like the 'c' case-flip command, except that
it flips Unicode underlining of the following character.
EMACS not only performs syntax-highlighting of the Algol source file, it
also automatically converts the ASCII representation of certain Algol symbols
into the publication syntax characters, in Unicode format — for instance,
on typing '<' followed by '=', the two characters just typed will be replaced by '≤'.
Similarly “//” becomes “÷” and 'begin' is converted to begin.
These conversions are only performed on input as it is typed. To convert text
already in a file you need to find and replace it with the editor, or (as done here)
convert the '' stropping to underlined text using the editor.
On exit, the Unicode file is viewed on the terminal and also run through a
utility that converts from Unicode to ASCII in a format suitable for compiling
with any of the current Algol 60 implementations.