diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2019-11-21 12:57:59 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2019-11-21 12:57:59 +0100 |
commit | 15ebcc764c30c18f41f179d589ad1ad5a45194f1 (patch) | |
tree | e83ebfbd8b2dc5e8524bf3fd647f55b9b8702941 /tests/interactive.lisp | |
parent | d4c554f62b007df2763c73ba7fd2b13814c186bc (diff) |
Better string and IO support
Diffstat (limited to 'tests/interactive.lisp')
-rw-r--r-- | tests/interactive.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
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) |