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

macro expansion requiring backtracking with multiple ellipsis fails #29

Open
GoogleCodeExporter opened this issue Apr 23, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
$ ol
You see a prompt.
> (define-syntax pick (syntax-rules () ((pick a ... n 42 b c ... 43 c d ...) 
n)))
pick
> (pick 1 2 42 43 3 4 42 5 43 6 42 7 43)
Macro expansion failed:  
  error:  instruction 1052 info #(() ()) 
> 

Didn't find any Scheme that would even allow the pattern, but owl should do 
better ;) One more excuse to rewrite the macro expander at some point.

Original issue reported on code.google.com by aohelin on 10 Jan 2011 at 10:40

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