BabaScript for scala