Skip to content

add debug mode for transforms

Hugo Moreau requested to merge hm/transform-details into master

Debug mode

It is now possible to visualize every transforms details, by simply adding the options -debug when calling go2pins, it will create a debug/ directory in the output directory with all transforms output. Every transforms go files is prefixed with its index.

For example, calling go2pins -debug test.go would produce:


Cleanup main.go

At the same time, main.go was too heavy and has been redesigned to be more comprehensible.

Options are now in tools/options.go, the program's entry is now in tools/entry.go and the compilation process has been set in tools/compile.go.

Merge request reports