riemann.query

The query parser. Parses strings into ASTs, and converts ASTs to functions which match events.

antlr->ast

(antlr->ast [node-type & terms])

Converts a parse tree to an intermediate AST which is a little easier to analyze and work with. This is the AST we use for optimization and which is passed to various query compilers. Turns literals into their equivalent JVM types, and eliminates some unnecessary parser structure.