shunting yard: smaller improvements

* typos
* synced C and Perl tests
* go implementation stub