You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although we already have generator package, essentially it's just make + text/template. For advanced code generation like #43 , using ast package and other static checker is a must. Also we want to customize code formatting and checking for gommon itself and application using gommon
This package can have integration with other package like log, though in generator, logger generation is hard coded ....
Instead of running multiple external tools and combine the output, it might be better to squash their implementation into one common codebase to save ast traverse time. (Inspired by the new scala compiler, dotty's tree squash in compiler phases)
Although we already have generator package, essentially it's just
make
+text/template
. For advanced code generation like #43 , usingast
package and other static checker is a must. Also we want to customize code formatting and checking for gommon itself and application using gommonThis package can have integration with other package like log, though in generator, logger generation is hard coded ....
Instead of running multiple external tools and combine the output, it might be better to squash their implementation into one common codebase to save ast traverse time. (Inspired by the new scala compiler, dotty's tree squash in compiler phases)
Ref
Tools
Tutorials
The text was updated successfully, but these errors were encountered: