nanopass / nanopass-framework-racket

nanopass compiler framework for Racket
http://nanopass.org
MIT License
181 stars 29 forks source link

Confusing error for multiple ellipses #6

Closed schuster closed 8 years ago

schuster commented 8 years ago

The program in this gist gives the error "unrecognized meta-variable in language L in: ..." https://gist.github.com/schuster/2ce5886e5f1c8c31558e

I assume Nanopass must only support at most one ellipsis per list. If that's the case, can we get a better error message here?

LeifAndersen commented 8 years ago

Yup, your assumption is correct. You can only have one ellipses per level in Nanopass. I will fix the error message to say that.

LeifAndersen commented 8 years ago

0f233ab03554f331b8ed0c2c1e639baed0cdbd87 fixes this issue.

Thanks again for submitting it.