-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI:ECL: load
with :verbose
and :print
options writes text of file unsafely
#77
Comments
That sounds like an interesting implementation and I'd love to see it. (It does sound like it might go against my "don't be clever in example.lisp" pseudo-rule though...) If setting |
Let me know if you think it's too clever. I also added a bunch of tests. |
It's definitely ECL's |
A passing build: https://travis-ci.org/wobh/xlisp/jobs/83063702 I have two ideas here based on the same foundation. First add some constants to label the verbosity levels. This takes care of an irksome remainder I decided not to do initially for some reason, but also makes distinguishing the two solutions a easier. Solution 1. Set Solution 2. Set I prefer solution 1 for the time being, but I think considering what solution 2 does for us is worth thinking about more generally. If/when we find another place to set |
I agree - it looks like setting I go with solution 1. If we tied it to verbosity then we should consider the other |
For the new
prime-factors
example I implemented a factorization wheel with a circular list. This became an issue with the ECL tests because ECL'sload
with:verbose
and:print
set to true (or possibly just one of those), like we use by default, prints the file to the screen, but does so with*print-circle*
left atnil
. If the file contained a circular listload
would never finish.This could be seen as a bug in
ECL
but I would like to come up with a work-around. It might be enough to set*print-circle*
tot
inxlisp-test
. Before I download ECL and start tinkering with it, what do you think about this?Failing job: https://travis-ci.org/wobh/xlisp/jobs/82872525
The text was updated successfully, but these errors were encountered: