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

Quotes and Splices #317

Open
AshleyYakeley opened this issue Oct 15, 2024 · 0 comments
Open

Quotes and Splices #317

AshleyYakeley opened this issue Oct 15, 2024 · 0 comments
Labels
Milestone

Comments

@AshleyYakeley
Copy link
Owner

AshleyYakeley commented Oct 15, 2024

#298 gives Interpreter and Type.

Quotes

  • Given a type T, @T has type OpenType T.
  • Given an expression e, !expression {e} has type Interpreter Expression.
  • Given bindings b, !scope {b} has type Interpreter Scope.

Splices

  • Given expr: Interpreter Expression, !{expr} in expression context is an expression.
  • Given expr: Interpreter Scope, !{expr} in scope context is bindings.
  • Given expr: Interpreter Type, !{expr} in type context is a type.
@AshleyYakeley AshleyYakeley added this to the 0.6 milestone Oct 15, 2024
@AshleyYakeley AshleyYakeley changed the title User-defined special forms Quotes and Splices Oct 20, 2024
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

1 participant