first working transformation: square brackets!
nicer syntax transformations, curly braced functions implemented as a generator