added scala example, pipe compile output
update