From 15ebcc764c30c18f41f179d589ad1ad5a45194f1 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 21 Nov 2019 12:57:59 +0100 Subject: Better string and IO support --- tests/interactive.lisp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/interactive.lisp (limited to 'tests/interactive.lisp') diff --git a/tests/interactive.lisp b/tests/interactive.lisp new file mode 100644 index 0000000..d40758b --- /dev/null +++ b/tests/interactive.lisp @@ -0,0 +1,6 @@ +#include "stdlib.lisp" + +(sys-put-string stdout "line: ") +(sys-flush stdout) +(define str (read-line stdin)) +(print str) -- cgit v1.2.3-54-g00ecf