morganstanley / hobbes

A language and an embedded JIT compiler
http://hobbes.readthedocs.io/
Apache License 2.0
1.16k stars 105 forks source link

Add support for show(penum char |....|) #424

Closed mo-xiaoming closed 2 years ago

mo-xiaoming commented 2 years ago

Should |A|::((penum char |A('A'), B('B')|)) be supported? currently, it is a syntax error

smunix commented 2 years ago

Should |A|::((penum char |A('A'), B('B')|)) be supported? currently, it is a syntax error

Would be nice to have indeed