basic interpreter of a simple scripting language