google / mlir-hs

Haskell bindings for MLIR
Apache License 2.0
92 stars 16 forks source link

Add a textually represented Attribute variant #46

Closed jpienaar closed 1 year ago

jpienaar commented 1 year ago

Not all Attributes are exposed in C API, enable specifying using the pure textual format too.

Flip Vector iterator_types to use this.

jpienaar commented 1 year ago

(I also considered calling this Opaque as these are opaque to the system & we no longer have an Opaque in MLIR, but wasn't sure if that would be confusing)