Open sirinath opened 4 years ago
Hmm, It's a good question. For now, I think, the answer is No, because if we will have plugins we have a complicated setup process. This point is on the opposite side of our design goal of "Hegel is easy to use JavaScript with types." But, I think, it could be implemented after several releases. Thank you for the idea ^_^.
Is it possible to add a language plugin framework to extend the language so that in cases like https://github.com/JSMonk/hegel/issues/82 different even conflicting features (e,g, there cannot be 2 plugins extracting types from comments in a given context so the plugin should have a purpose and scope so plugins do not conflict when using) can be added?
The plugin them selves can perhaps be extended and enhanced also to add additional functionality.