Skip to content

Conversation

@swittlich
Copy link
Contributor

🚀 Feature: Registry-based Binary Abstraction (Plugin Layer)

Short Summary

This PR introduces an additional abstraction layer for invoking external binaries. Instead of calling binaries directly, they are now resolved and executed via a central registry.

This change significantly enhances plugin capabilities by allowing the entire binary invocation process to be intercepted, modified, or completely replaced by plugins.

💡 Motivation & Use Cases

We require a flexible way to control the execution path of external tools (e.g., yosys, ghdl) to open up our architecture for various runtime environments.

This layer enables powerful use cases such as:

  • Runtime Plugins: Writing plugins for Docker or WSL2 integration to execute binaries in isolated or specific environments.
  • Invocation Hooks: Centralizing functionality for logging, metrics, or pre/post-processing around binary execution.
  • Mocking/Testing: Easier mocking of external dependencies during testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant