Silly mistake on the parser value(token)/1 function. Haven't tried to compile in a while, almost assured failure in compilation.