reorganize and test lines_to_expressions
mutable variables (very rough)