commit | bd2a90df84220dcad62cf7109d6cda61d4aa3f9f | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Dec 09 10:36:14 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Thu Dec 09 10:36:14 2021 -0800 |
tree | 344ce72a07871bd3f355ed2ab2a93495e33235a0 | |
parent | 1060c0e1a63f9c4d80202cd378498f2831ac37a2 [diff] [blame] |
Add REPL history
diff --git a/Repl.h b/Repl.h index a4939d3..b3470f2 100644 --- a/Repl.h +++ b/Repl.h
@@ -16,6 +16,7 @@ protected: QString readLine(); + void addHistory(QString line); bool trySpecialCase(QString line); bool tryEvaluate(QString line, QList<AstNode> *expr);