runtime: get params for allocRef the right way around
Remove duplication in literal parsing code
core tetra: drop the # on the end of Core Tetra literals