anoma / geb

A Categorical View of Computation
https://anoma.github.io/geb/
GNU General Public License v3.0
28 stars 10 forks source link

Changing Bitc object structure to a bit-vector or vector #110

Open mariari opened 1 year ago

mariari commented 1 year ago

Currently the BITC category uses a list to represents objects and transformations. This is bad, because it is more naturally expressed as a bit-vector.

Here are a few sample documentation for bit-vectors

https://novaspec.org/cl/f_bit-and

https://novaspec.org/cl/t_bit-vector

Further as #101 gets considered, we may want to move it to a general vector instead of just a bit one. Either way it's a better format for this code

mariari commented 1 year ago

The interpreter does this, however the backend compiler to vampir does not sadly