microsoft / BosqueLanguage

The Bosque programming language is an experiment in regularized design for a machine assisted rapid and reliable software development lifecycle.
Other
5.25k stars 298 forks source link

Enum values #521

Open mrkmarron opened 1 year ago

mrkmarron commented 1 year ago

Enums are currently always Nat valued. We would like to allow the use of any _typedeclable_ literal value (including string, stringof, typedecl-ed numbers, etc.)

Needs work in the compiler and in the emitters.