debuglog-arrow-meta
debuglog-arrow-meta copied to clipboard
Debug Log plugin in Arrow Meta
Debug Log Arrow Meta
This compiler plugin was inspired by DebugLog. It is an implementation of this plugin using Arrow Meta. Arrow Meta is a library that provides functional API to build compiler plugins. I wrote an article that explains the plugin Writing a Kotlin Compiler Plugin with Arrow Meta.
There are two modules in this project.
create-plugin
This module contains the actual plugin. DebugLogMetaPlugin is the entry point. DebugLogTransformation contains the acutal
logic of using the replace transformation of Arrow Meta.
use-plugin
This module uses the jar file build from the create-plugin module. It demonstrates the usage in the DebugLogExample file.
This module also contains a test for the plugin. It uses the testing-plugin module from Arrow Meta.