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

Quasiquote syntax support #211

Open
5 tasks
NeilKleistGao opened this issue Feb 16, 2024 · 2 comments
Open
5 tasks

Quasiquote syntax support #211

NeilKleistGao opened this issue Feb 16, 2024 · 2 comments
Assignees
Labels

Comments

@NeilKleistGao
Copy link
Member

Support more quasiquote syntax:

  • Assign
  • While
  • NuNew
  • Tuple
  • Pattern matching

Also see: #182

@LPTK
Copy link
Contributor

LPTK commented Feb 16, 2024

  • A pattern like `f(a) is always wrong, as a quoted f can never be applied. We should issue a warning that the user probably intended to write `f`(a).

@NeilKleistGao
Copy link
Member Author

NeilKleistGao commented Feb 20, 2024

  • Improve quoted blocks:
    `let x = a `in
      `log`(x)
      x
    [@LPTK:] this should generate a warning as it's obviously not doing something the user expected. Similarly to `foo(`42) (should be `foo`(`42)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants