Can this be achieved with GraalScript?