Share uninterned symbols in *print-circle*#271
Merged
k-okada merged 4 commits intoeuslisp:masterfrom May 24, 2018
Merged
Conversation
Member
|
please use `restart travis euslisp/EusLisp 709.9`
…--
◉ Kei Okada
2018-04-03 9:39 GMT+09:00 Affonso, Guilherme <notifications@github.com>:
Reopened #271 <#271>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#271 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3DmbIFTmwL8HaY-kDjkuenYcsnTDks5tksTWgaJpZM4SlT7C>
.
|
Member
|
need to merge #273 |
Member
Author
|
@inabajsk Please review |
Member
Author
|
To give a better explanation of the problem: Symbols generated by This causes problems e.g. when trying to load hash tables from dumped files, as reported on #266. In common lisp, this problem is solved by writing files using labeled notation, when *print-circle* is non-nil. This PR takes the same approach as common lisp implementation. It can be tested with the following: |
Member
|
can you put test code into jskeus/irteus/test ? |
Member
Author
|
@k-okada added in euslisp/jskeus#501 |
Member
Author
|
@k-okada ping |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes
(let ((g (gensym))) (list g g))print as(#1=#:G824 #1#), when *print-circle* is non-nil. Since this is a dumpable and loadable form, #266 gets solved. (It is also default behavior in clisp and sbcl.)Can be tested with below code: