Work in progress: reverse engineer Riemann query grammar in peg.js. Still need to fix strings, exponents and groupings.