Commit graph

4 commits

Author SHA1 Message Date
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
Works as so:

index.d2:
```d2
x: @x
```

x.d2:
```d2
label: meow
shape: circle
```

TODO:

- [ ] Correctly import into fields by handling the scenarios/steps overlay.
      - And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
Alexander Wang
0adec7fea2
compiler 2022-12-25 13:42:11 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00