nanopass / nanopass-framework-racket

nanopass compiler framework for Racket

Home Page:http://nanopass.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confusing error for multiple ellipses

schuster opened this issue · comments

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?

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

0f233ab fixes this issue.

Thanks again for submitting it.