Commit graph

3 commits

Author SHA1 Message Date
Alexander Wang
8b4b4a72c7
change err msg 2025-03-23 07:33:21 -06:00
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
Alexander Wang
60c912c605
compile reserved keys to lowercase in IR 2023-03-06 16:38:13 -08:00