Skip to content

Enable REPL for a Generic interpreter #304

Closed Answered by michaelb
mathjiajia asked this question in Q&A
Discussion options

You must be logged in to vote

Enable REPL for a Generic interpreter

Unfortunately it's not really possible. While the (non-REPL) "file -> compiler -> binary -> output" workflow is relatively standard over number of languages, it's not as easy to generalize a "file | interpreter | output": many intepreters have quirks and there is some language-specific code too.

A purpose-built interpreter is better suited to REPL functionality

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathjiajia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants