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

export-syntaxes requires a syntax class for transformer expr? #63

Open
quasarbright opened this issue Dec 2, 2024 · 0 comments
Open
Labels
question Further information is requested

Comments

@quasarbright
Copy link
Collaborator

(syntax-spec
  (nonterminal/exporting anim-expr
    #:allow-extension racket-macro
    ((~literal define-syntaxes) (x:racket-macro ...) e:racket-expr)
    #:binding (export-syntaxes x ... e)))

gives the error

export-syntaxes: expected pattern variable associated with a syntax class
  at: e
  in: (export-syntaxes x ... e)

examples seem to use e:expr instead of e:racket-expr. why? seems like we should be able to use racket-expr

@quasarbright quasarbright added the question Further information is requested label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant