✨ [feature req] Allow # as a comment that stays in compiled file
It would be pretty damn useful when debugging the compiler, as well as it makes the output more readable
@b1ek That's a fantastic idea, although why not make the regular comment // stay in the bash code? I think that we could add a flag --release that will eradicate these comments from the generated bash. Overall I think this would improve DX when writing Amber a lot more!
why not make the regular comment
//stay in the bash code?
im not sure that all users would want that to happen. Also thats somewhat of a breaking change as compared to creating a new syntax rule.
i just looked over the docs and found out that # is used for processor directives, so it can't be used as a comment symbol.
we could've easily just left the // comments in the bash file. it can be minified by using an external tool later, anyway
Also thats somewhat of a breaking change as compared to creating a new syntax rule.
I think we're early enough to introduce such changes. It's better now than later.