For #1, just use readline/editlne. Don’t try to implement your own.
Although personally I’d prefer a nice shell-scripting interface. (Note: I have not actually tried the program or checked if it has one.)
It can take command line arguments and therefore be put into a shell script, if that’s what you mean. Here’s an example:
java -jar familiar-0.1.0-SNAPSHOT-standalone.jar “(open! some-other-experiment)” “(new-var herons boolean? false)” “(data herons true)”
For #1, just use readline/editlne. Don’t try to implement your own.
Although personally I’d prefer a nice shell-scripting interface. (Note: I have not actually tried the program or checked if it has one.)
It can take command line arguments and therefore be put into a shell script, if that’s what you mean. Here’s an example: