The compiler can become a generic snippets compiler for all use case. It can be use to compile snippets for other blockchains, platforms, systems and even other languages.
The current approach that the majority of extensions use (in VSCode) is to define all the snippets in JSON directly, this means that they have no way to test that the snippet actually works. Maybe in web2 is not a real problem due to bug can easily be fixed. However, in web3 we can't rely in untested code, even if it is for learning or non-production purpose.
The compiler fix this problem and it can be a great step in order to create more snippets in other platforms/languages.
The next steps are:
[ ] Improve the compiler in order to make it platform/blokchain agnostic.
[ ] Migrate the compiler codebase to a new repository and cross reference it
[ ] Delete the compiler codebase from this repository and reference the new compiler repository as a submodule
The compiler can become a generic snippets compiler for all use case. It can be use to compile snippets for other blockchains, platforms, systems and even other languages.
The current approach that the majority of extensions use (in VSCode) is to define all the snippets in JSON directly, this means that they have no way to test that the snippet actually works. Maybe in web2 is not a real problem due to bug can easily be fixed. However, in web3 we can't rely in untested code, even if it is for learning or non-production purpose.
The compiler fix this problem and it can be a great step in order to create more snippets in other platforms/languages.
The next steps are: