patriciobcs / solana-snippets

VSCode extension to quickly write and customize well tested Solana snippets.
MIT License
20 stars 1 forks source link

Migrate snippets compiler to its own repository #4

Open patriciobcs opened 1 year ago

patriciobcs commented 1 year ago

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:

patriciobcs commented 1 year ago

This will remain standby only the compiler is in a better shape.