haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Add generator-specific context

Open Simn opened this issue 1 year ago • 1 comments

This PR adds a lightweight version of Common.context which holds all the data generators need. For now it's only implemented for genjvm, but should be relatively easy to add to other generators.

The main goal is to make my dependency dot graphs look nicer.

Before:

gctx before

After:

gctx after

Simn avatar Jan 08 '24 07:01 Simn

I have also already "ported" our second best generator genhl, which was easy enough.

Before:

genhl before

After:

genhl after

Unlike in some other areas, smaller is better.

Simn avatar Jan 08 '24 08:01 Simn