cfg_esa package for longest first context free grammar compression using enhanced suffix array.
The code is on GitHub: https://github.com/dkorenci/cfg-esa
When using please cite: Ristov, S and Korenčić, D., “Using Static Suffix Array in Dynamic Application: Case of Text Compression by Longest First Substitution”, Information Processing Letters, DOI 10.1016/j.ipl.2014.08.014