experiments for a scala parser