Commit graph

40 commits

Author SHA1 Message Date
Alexander Wang
21d2c44413
set wip 2023-06-20 18:56:03 -07:00
Alexander Wang
1ff119d803
baseAST 2023-06-20 18:56:02 -07:00
Anmol Sethi
986f069c18
d2ir: Fix link paths to be unquoted strings
Allows for simpler manipulation.
2023-06-06 22:37:56 -07:00
Anmol Sethi
7d9f8b6c08
d2ir: Update links after import 2023-06-06 22:13:49 -07:00
Anmol Sethi
7f0450121a
d2ir: Handle imported scenarios/steps/links 2023-06-06 16:49:12 -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
754e0ece80
use helpers 2023-04-06 21:02:12 -07:00
Alexander Wang
a2cffc9341
fix inheritence bug 2023-04-05 19:29:08 -07:00
Alexander Wang
60c912c605
compile reserved keys to lowercase in IR 2023-03-06 16:38:13 -08:00
Alexander Wang
81ce1f8209
pr feedback 2023-03-02 18:25:14 -08:00
Alexander Wang
d8b1e65386
disallow referring to root 2023-03-02 18:01:51 -08:00
Alexander Wang
78e6f3fc06
pr feedback 2023-03-02 17:56:32 -08:00
Alexander Wang
e504aca6d0
comment 2023-03-01 15:49:47 -08:00
Alexander Wang
85985bbaf5
ok 2023-03-01 15:38:02 -08:00
Alexander Wang
3a9745974c
save 2023-03-01 14:53:58 -08: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
Alexander Wang
a0f8dbee22
fix steps panic 2023-02-22 13:43:24 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Anmol Sethi
dce4385644
d2ir: Review fixes #714 2023-01-27 12:37:08 -08:00
Anmol Sethi
7d011bab47
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:33 -08:00
Anmol Sethi
5af31670d1
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:32 -08:00
Anmol Sethi
566ea11db7
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:32 -08:00
Anmol Sethi
154c7e8947
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:30 -08:00
Anmol Sethi
3e7bdc5468
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:29 -08:00
Anmol Sethi
bd7b5c3fc0
d2ir: Add Map.CopyBase for better performance 2023-01-24 03:24:28 -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
d239b8dad1
d2ir: Fully implement scenarios/steps 2023-01-24 03:24:26 -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
98ede1f586
d2ir: IR Root wip 2023-01-24 03:24:16 -08:00
Anmol Sethi
473d5ba582
d2ir: IR Root wip 2023-01-24 03:24:15 -08:00
Anmol Sethi
5741e0a4f9
d2ir: IR Root wip 2023-01-24 03:24:13 -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
0a19aeb367
d2ir: References wip 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