Compile parser output into something useful.