Skip to content

Type Providers #116

Closed as not planned
Closed as not planned

Description

@wenkokke

Just wanted to point you to wenkokke/py-tree-sitter-type-provider, which:

  • generates dataclasses from a node-types.json file,
  • provides a conversion from tree_sitter.Node to those dataclasses, and
  • provides a generic visitor and transformation patterns.

For an example of how to use it, see wenkokke/py-tree-sitter-talon.

Activity

  1. ObserverOfTime commented on Feb 26, 2024

    @ObserverOfTime
    Member

    If the project is still maintained we can mention it when we update the docs. Closing this issue for now.

  2. locked and limited conversation to collaborators on Feb 26, 2024
  3. converted this issue into a discussion #197 on Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions