1. A method for converting an input script, the method comprising: obtaining an input script comprising at least one variable; obtaining at least one translation transformation rule from a library; converting the input script into a tree representation; folding the tree representation to hide a subset of variables in the input script to create a folded tree; and generating a natural language text by applying at least one translation transformation rule from the library to the folded tree.