Aliasing should be supported through the NimName -> WrenName syntax.
Automatic prefix stripping should be supported through the MyEnum - prefix syntax.
These two should be combinable into MyEnum - prefix -> WrenEnum.
Numbers from Wren should be converted to enums. Type checking is not going to work, because it would require a big overhead, while enums are supposed to be lightweight and fast.
Enum binding is not supported. Code like this:
should automatically produce a
module
call to add the following code:Aliasing should be supported through the
NimName -> WrenName
syntax. Automatic prefix stripping should be supported through theMyEnum - prefix
syntax. These two should be combinable intoMyEnum - prefix -> WrenEnum
.Numbers from Wren should be converted to enums. Type checking is not going to work, because it would require a big overhead, while enums are supposed to be lightweight and fast.