A

code is a uniquely decipherable scheme mapping source words of length

into channel words of length

. In a look-ahead code the encoding and/or decoding of a current word may depend on upcoming, as well as past, symbols. Given an

-ary source, a channel of