-
Notifications
You must be signed in to change notification settings - Fork 5
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
Regressions in 2.0.8 compared to 0.9.6 #169
Comments
Hello Christoff, Thank you for reporting the issues! Best, |
Update: Found bug in syntax transformer in both syntax-rules and syntax-case.
While simple use of '... ...' is ok:
|
Update: Macro expander fix is done (branch: bugfix). I found that stdlib/core/optimizer.scm have problem. Temporary disable optimization fixed another issue. Continue working on fix optimizer. Thanks! |
Dear Yoshikatsu, Thank you very much for looking into it! This was very fast :) I just tested your bugfix branch, and all but two of the errors are gone. The remaining ones are:
and
I guess the first one -- the The second error -- the I am glad to help; just tell me if you need more details. |
Update: Successfully narrow downed the issue as follows :D
And seeing the bug in lambda lifting :|
|
Hi Christoff, Issue should be fixed in master branch. Please check! Best, |
Looks good. I can confirm the error
is gone. Thanks a lot! The following error for the
Above failed assertion is not a regression compared to ypsilon 0.9.6. The assertion failes since ever for ypsilon. But it passes in other R6RS Scheme systems. @fujita-y: Shall I open this as a separate issue since it is not a regression compared to version 0.9.6? |
Yes, please open separate issue. Thanks! |
Important note: The tests Ypsilon fails are passed by other R6RS Scheme systems like Chez Scheme, Larceny, Racket and Sagittarius Scheme. Hence, I think these are indeed Ypsilon compiler bugs.
System setup: Just in case this is important, I am using an old MacBook Air 2011 (x86, Intel). I build Ypsilon with LLVM/Clang 15.0.7.
I recently switched from Ypsilon 0.9.6-trunk/r506 to 2.0.8. The new version fails 6 tests of my Scheme R6RS project, whereas the old failed only a single (see christoff-buerger/racr#88).
The kind of errors I now get with 2.0.8 are:
and
and
The first error is for a normal function that edits graphs represented using R6RS records (hence, the set! operations on the fields encoding edges is used to change the graph structure), the others look like macros/syntax-forms expansion issues.
It is very hard for me to understand the Ypsilon code, and why it fails compared to the old version. But my Scheme library provides a convenient set of Bash scripts and tests which should make it easy for you to check and debug the errors yourself.
If you like to do that, please:
tests/execute.bash -s ypsilon -x
; this will run all tests with the erroneous failing.deploying/deployment-scripts/execute.bash
script.The text was updated successfully, but these errors were encountered: