sjs compiler - basic stack parsing