You can power block on each side, but not the block the IC is sitting on. Perhaps you could use the center block as another input/output?
This mod has something similar, although they use variables to write code, not place blocks:
https://github.com/stfwi/redstonepen/tree/master/documentation/redstone-logic-control
They use U (Up) and D (Down) to represent the blocks above and below. IMO the block underneath is probably sufficient as it would allow for more compact redstone, allowing you the power the underside without external redstone.
You can power block on each side, but not the block the IC is sitting on. Perhaps you could use the center block as another input/output?
This mod has something similar, although they use variables to write code, not place blocks:
https://github.com/stfwi/redstonepen/tree/master/documentation/redstone-logic-control
They use U (Up) and D (Down) to represent the blocks above and below. IMO the block underneath is probably sufficient as it would allow for more compact redstone, allowing you the power the underside without external redstone.