Skip to content

Tasty API support for generating local symbols #8114

Closed
@fhackett

Description

@fhackett

This issue is a generalisation of recent PR #8090, aiming to cover gaps in symbol generation that are not immediately relevant to that change. That change enables the generation of method symbols, including method parameters as consequence.

Remaining symbols the Tasty API should be able to generate are:

  • symbols for local vals (including vars, etc)
  • symbols for pattern binds
  • symbols for local classes / objects / etc

Several of these kinds of symbols can be hacked into existence by stealing them from quotes, but this means we can't directly control things like names, flags (and location information?). Especially since we now have Symbol.newMethod, it would be strange not to at least support vals and pattern binds. Local classes may be more complicated, so I will be experimenting with those last.

I'll be writing up any ideas / progress here for comment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions