d2/d2parser
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
..
parse.go d2ir: Compile imports 2023-06-04 23:31:18 -07:00
parse_test.go d2parser: Allow .d2 extension on quoted import strings 2023-05-30 15:56:01 -07:00