Graphing a syntax classes

Hey, Racket community!
I am writing a DSL for ClickHouse database and made some amount of syntax classes already. After some amount I feel it becomes difficult to hold everything in my head, so I have started to look is there some way to make a graph out of syntax classes defined in my module.

So... I am wondering:

  1. could I get all the syntax classes defined in a particular module?
  2. is there any way to get classes which are referenced by some syntax class patterns?
  3. maybe you know some work related to the topic?

Thanks in advance! :slight_smile:

Ok, this is a stupid no-answer but have you tried applying any common software design patterns to your syntax class code?
For example...

could I get all the syntax classes defined in a particular module?

This sound alike a bad idea but maybe I miss your point. :man_shrugging:

I know this thread is "dead", but I can kind of see the point, when you think about for example the "module viewer" in DrRacket. Would be awesome if you could apply the same logic to say syntax-classes, or what have you.

Thanks for making this connection.