diff options
| author | Alasdair Armstrong | 2020-01-16 14:11:17 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2020-01-16 14:14:13 +0000 |
| commit | 5c3bf1c0ecaadacdee1888778dde64df99f62e39 (patch) | |
| tree | 6a4f258556f45d1df12e0c090bec3da41b092598 /language | |
| parent | 057d2b05aa474c27f19dc517f38018414aa91dcf (diff) | |
Keep track of (non-bit) vectors known to be fixed size in Jib
This is useful because an arbitrary vector of a fixed size N can be represented symbolically as a
vector of N symbolic values, whereas an arbitrary vector of arbitrary size cannot be easily
represented.
Diffstat (limited to 'language')
| -rw-r--r-- | language/jib.ott | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/language/jib.ott b/language/jib.ott index 8cccac5f..63c86126 100644 --- a/language/jib.ott +++ b/language/jib.ott @@ -156,6 +156,7 @@ ctyp :: 'CT_' ::= | variant id ( uid0 * ctyp0 , ... , uidn * ctypn ) :: :: variant % A vector type for non-bit vectors, and a (linked) list type. + | fvector ( nat , bool , ctyp ) :: :: fvector | vector ( bool , ctyp ) :: :: vector | list ( ctyp ) :: :: list |
