A very simple morse code translator in Python.
(human-like reasoning algorithm)
- encoder use a table [symbol - morse code]
- decoder use a binary tree node [value = symbol, left child = ".", right child = "-"]
From 'Code: The Hidden Language of Computer Hardware and Software', Charles Petzold