Open tpmoney opened 2 months ago
thanks for the report. I am not surprised, the terminal REPL is not a top-notch REPL, yet. But it isn't the only way to use CIEL.
I can only encourage to use a good CL editor: https://lispcookbook.github.io/cl-cookbook/editor-support.html
We'll fix and tune the readline interface with time.
Other candidates worth checking out are:
NB: the build-without-deploy
branch has been merged on master. (context: it simply removes the Deploy tool from the build process, as we don't need it anymore to help with foreign dependencies)
when you run your file as a script, the format is correct:
$ ciel testarithmetic.lisp
pass ... (TEST-ARITHMETIC TEST-+): (= (+ 1 2) 3)
pass ... (TEST-ARITHMETIC TEST-+): (= (+ 1 2 3) 6)
FAIL ... (TEST-ARITHMETIC TEST-+): (= (+ -1 -3) -5)
pass ... (TEST-ARITHMETIC TEST-*): (= (* 2 2) 4)
pass ... (TEST-ARITHMETIC TEST-*): (= (* 3 5) 15)
(instant result: 0.02s
)
but of course, we want to avoid a boring write-run loop, hence the use of (load "test.lisp")
in the REPL, etc.
For the best editing experience, anyways, I can only recommend to install… etc etc.
I have been working my way through Practical Lisp's examples and have a file with the basic "testing" functions and macros they describe in the book. When loading the file and running the
test-arithmetic
function, the first line is formatted oddly in the REPL, but subsequent lines are correct. Invoking a single call to the function that produces the output is also formatted oddly, so it looks like it might be an issue with the first item sent to the REPL output?hello.lisp
Output: