mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 14:48:40 +01:00
It doesn't actually execute code yet, but it: - Supports left and right arrow keys for moving the cursor. - Ctrl-C, Ctrl-D, Ctrl-A, and Ctrl-E for navigating. - Syntax highlights the line (!). The next step is to do a rough parse so that we can tell if the line is an expression, statement, or needs more input. That will tell us whether we need to interpret it at the top level (statement) and not worry about a result, evaluate it as an expression and print the result, or read more lines.