improved const correctness of likely_eval, likely_repl, and likely_ast