AMG: ylex is a companion package to yeti. The purpose of ylex is to convert input text to a stream of tokens directly readable by yeti.
See Lexing C and XDR for usage examples.