Skip to content
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

Self-referential lists cause print to Stack Overflow. #14

Open
birchb1024 opened this issue Aug 20, 2015 · 0 comments
Open

Self-referential lists cause print to Stack Overflow. #14

birchb1024 opened this issue Aug 20, 2015 · 0 comments
Assignees

Comments

@birchb1024
Copy link
Owner

> define x (cons 1 2)
: 
(1 = 2) # Pair 
> rplaca x x
: 
org.genyris.exception.GenyrisException: Stack Overflow
        at org.genyris.core.Exp.evalCatchOverFlow(Unknown Source)
        at org.genyris.interp.Interpreter.evalInGlobalEnvironment(Unknown Source)
        at org.genyris.interp.Interpreter.evalStringInGlobalEnvironment(Unknown Source)
        at org.genyris.interp.ClassicReadEvalPrintLoop.runWithJline(Unknown Source)
        at org.genyris.interp.ClassicReadEvalPrintLoop.main(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant