obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

Refactor interactive executors to cut down on code reuse

Open chlohal opened this issue 2 years ago • 2 comments

There was a lot of code shared between NodeJSExecutor and PythonExecutor. If we expand to other languages, it would be even harder to maintain, so I refactored their shared language-agnostic code into a new file, ReplExecutor

chlohal avatar Oct 19 '22 14:10 chlohal

Thank you, this is a great idea!

Could you update this PR to make up for the newest PRs I merged?

twibiral avatar Oct 19 '22 15:10 twibiral

Will do; thanks!!

chlohal avatar Oct 19 '22 15:10 chlohal

Great, thank you!

twibiral avatar Oct 20 '22 14:10 twibiral