bytecodealliance / componentize-py

Apache License 2.0
158 stars 19 forks source link

rename "lift" and "lower" functions #65

Closed dicej closed 9 months ago

dicej commented 9 months ago

The "lift" and "lower" terminology was misleading and confusing for anyone familiar with their meanings in the Component Model ABI. I was overloading them to mean "lift from the canonical ABI representation to Python" and "lower from Python to the canonical ABI representation", respectively, but that's easy to confuse with how the canonical ABI uses them to mean "lift a core function to a component function" and "lower a component function to a core function".

In order to avoid such confusion, I've renamed them to "from-canon" and "to-canon", respectively.