Anmol Sethi
10c6d2af71
d2parser: Fix bad import key panic
2023-06-06 14:01:32 -07: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
305c72d239
implement classes
2023-04-07 09:57:51 -07:00
Alexander Wang
a2cffc9341
fix inheritence bug
2023-04-05 19:29:08 -07:00
Alexander Wang
a027564100
update
2023-02-22 16:21:16 -08:00
Alexander Wang
691b45733d
update
2023-02-22 14:59:05 -08:00
Anmol Sethi
f056700152
d2ir: Review fixes #714
2023-01-27 17:19:12 -08:00
Anmol Sethi
ece34aaf01
d2ir: Add recursive scenario/step test
2023-01-24 03:24:27 -08:00
Anmol Sethi
26a72e3e0c
d2ir: Add recursive scenario/step test
2023-01-24 03:24:27 -08:00
Anmol Sethi
4424a0f10e
d2ir: Fully implement scenarios/steps
2023-01-24 03:24:26 -08:00
Anmol Sethi
d239b8dad1
d2ir: Fully implement scenarios/steps
2023-01-24 03:24:26 -08:00
Anmol Sethi
7d89174a1b
d2ir: IR Root wip
2023-01-24 03:24:25 -08:00
Anmol Sethi
748557d8f2
d2ir: IR Root wip
2023-01-24 03:24:24 -08:00
Anmol Sethi
180334a8e1
d2ir: IR Root wip
2023-01-24 03:24:23 -08:00
Anmol Sethi
29b936252b
d2ir: IR Root wip
2023-01-24 03:24:17 -08:00
Anmol Sethi
473d5ba582
d2ir: IR Root wip
2023-01-24 03:24:15 -08:00
Anmol Sethi
f7394133b9
d2ir: IR Root wip
2023-01-24 03:24:11 -08:00
Anmol Sethi
f69f401d23
d2ir: References wip
2023-01-24 03:24:10 -08:00
Anmol Sethi
10ca5e2ce1
d2ir: Add d2ir -> d2ast for stringifying the IR
2023-01-24 03:24:09 -08:00
Anmol Sethi
91149543f5
d2ir: wip
2023-01-24 03:24:02 -08:00
Anmol Sethi
61aef74975
d2ir: wip
2023-01-24 03:23:27 -08:00