A domain specific language for writing and analyzing string encoders and decoders.

Bex is a domain specific language that integrates Bek and regular expressions to write and analyze string encoder and decoders. Bex introduces pattern matching and the ability to refer to multiple consecutive characters in an input string. The underlying analysis is based on Extended Symbolic Finite Transducers. After analyzing the code one can generate the JavaScript code corresponding to the Bex code and integrate it in a web browser.