Write an interpreter in OCaml 5 that fits in a single file that can parse and interpret the string "let rec fib n =\n if n<2 then n else\n fib(n-2)+fib(n-1) in\nfib 30".
Generate 10 prompt-completion pairs where the prompt contains a non-trivial integer arithmetic calculation (using +, -, *, / and brackets) and the completion provides a thought process using a REPL before stating the answer.