Skip to content
A Robust REPL
step 1/5

Reading — step 1 of 5

Read

~1 min readAdvanced Topics

A Robust REPL

A real REPL must not crash on a single bad input. If you type:

(+ 1 2
foo
(/ 10 0)
(+ 3 4)

A good interpreter should report three errors and still print 7 for the last

Discussion

Ask a question, share an insight, or help someone who’s stuck.

Sign in to post a comment or reply.

Loading…