Photo by Autopilot CC 3.0 WIkimedia Commons

We've walked through the code of a fairly rich command line editor that can easily be modified for any application that requires command line input from the user.

Specifically, this was written for CircuitScheme, which now has a decent REPL. There are always more ways to improve it. The next will probably be to keep a history of result values and the ability to pull them into the line being edited the same way input history works now.

This guide was first published on Feb 20, 2019. It was last updated on Feb 20, 2019.

This page (In Closing) was last updated on Feb 19, 2019.

Text editor powered by tinymce.