Implement parser & type-checker for tuple indexes.

```aiken
  fn foo() {
    let tuple = #(1, 2, 3, 4)
    tuple.1st + tuple.2nd + tuple.3rd + tuple.4th
  }
  ```
This commit is contained in:
KtorZ
2022-12-21 19:24:27 +01:00
parent 7867793bcd
commit bf7cdfba73
13 changed files with 287 additions and 42 deletions

View File

@@ -15,6 +15,7 @@ chumsky = "0.8.0"
indexmap = "1.9.1"
itertools = "0.10.5"
miette = "5.2.0"
ordinal = "0.3.2"
strum = "0.24.1"
thiserror = "1.0.37"
uplc = { path = '../uplc', version = "0.0.25" }