JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
90 stars 4 forks source link

Create ENum class #20

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Description of the feature

There should be a Python ENum class in the standard library of the language, as this is one of the features of the language.

Description of potential solution

Always add an ENum class to the output when creating Python source files (see #17). The standard library could be outputted in its entirety to the output.

Alternatives considered

Perhaps in future, it might be better to have the allow developers to add the standard library of Mamba as a dependency to a project. Note Python has an excellent standard library, so ideally this standard library shouldn't have to add much as Python itself already contains much functionality.

Additional context

...

JSAbrahams commented 5 years ago

No longer necessary after #69.