Open dorchard opened 1 year ago
I think more than being being confusing it could potentially lead to clashes couldn't it? @raehik eventually figured out that in #190 that some weird behaviour I was getting was due to the renaming not being quite unique.
I think for internal names using .
would be fine, but for generated code this might cause problems with the syntax for field accessors. Using .
is non standard but widely used (on account of virtually every other language using .
).
At the moment, the renaming (
Language.Fortran.Analysis.Renaming
) generates names that use the scope and name and a freshid, but using_
to separate all of these. However since_
is a valid part of an identifier I think this is a little confusing when looking at outputs. Consider:then we get things like
What about if instead we used
.
?, i.e.,Does that have any problems with generated names wanting to be used like actually variables anywhere (i.e., in generated code)? It doesn't appear so.