With the upcoming module system it will be possible to compile blech code for a specific package.
The default package is "blech" which might change to "mylib", when building for the "mylib" package.
Problem: The name for the generated code contains the package name as part of its unique global name. This changes when we choose another package name.
As always: a manually completed template needs manual rework if the template changes.
Solution
Deprecate and remove the source attribute. It can be substituted with a more elaborate (single- or multiline) binding.
Problem description
With the upcoming module system it will be possible to compile blech code for a specific package.
The default package is "blech" which might change to "mylib", when building for the "mylib" package.
Problem: The name for the generated code contains the package name as part of its unique global name. This changes when we choose another package name.
As always: a manually completed template needs manual rework if the template changes.
Solution
Deprecate and remove the source attribute. It can be substituted with a more elaborate (single- or multiline) binding.