Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Conversation

@jurgenvinju
Copy link
Member

@jurgenvinju jurgenvinju commented Dec 28, 2023

@PaulKlint this is a draft; will grow slowly to implement the type constructors:

  • data[..]
  • syntax[..]
  • lexical[..]
  • layout[..] and
  • keyword[..]

Represented by amodifyTo(AType arg, SyntaxRole sr) and applies to aadt(_,_,SyntaxRole sr) to modify the syntax role. The tricky details are in matching and instantiation, i.e. the semantics of matching against data[&T] and then instantiating a syntax[&T] where &T is bound.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant