Use a macro to process input in the REPL.