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

List cycles support #4

Open
jcubic opened this issue Dec 11, 2022 · 0 comments
Open

List cycles support #4

jcubic opened this issue Dec 11, 2022 · 0 comments

Comments

@jcubic
Copy link

jcubic commented Dec 11, 2022

Marwood doesn't support list cycle representation and create infinite loop:

(define x (let ((x '(1 2 3)))
   (set-cdr! (cddr x) x) x))
> x

It also doesn't support R7RS datum reference syntax, which allows for creating cycles:

(define x '#0=(1 2 . #0#))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant