iwillspeak / feersum

A Scheme compiler that targets .NET written in F#
http://playlist.feersum-scheme.net
MIT License
24 stars 1 forks source link

Improve Naming of Evnrionment Slots #52

Open iwillspeak opened 2 years ago

iwillspeak commented 2 years ago

Current environment slot naming is of the form _env_0 where 0 is the slot index. It would be nice if this better represented the value that is to be stored there e.g. if captured from an argument it could be _arg_0 or _local_1 for locals. Even better if the field name could include the original name for the field, although this may require some tweaks to how StorageRef is represented to flow that information through to the emit phase.

iwillspeak commented 2 years ago

See also the namimg discussions in #36