Commit graph

96 commits

Author SHA1 Message Date
Alexander Wang
e998a95b96
d2ir: prevent illegal non-tail keywords 2023-05-31 23:04:09 -07:00
Alexander Wang
595fafc4c8
fix class
style validation

changelog
2023-04-27 11:48:07 -07:00
Alexander Wang
16478fd894
fix classes panic 2023-04-26 12:40:42 -07:00
Alexander Wang
e0b4c09df1
d2oracle: don't modify classes 2023-04-18 20:25:07 -07:00
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -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
78e6f3fc06
pr feedback 2023-03-02 17:56:32 -08:00
Alexander Wang
3a9745974c
save 2023-03-01 14:53:58 -08:00
Anmol Sethi
e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
Anmol Sethi
903bf7e206
Ignore BoardKeywords in d2graph and change d2ir.IDA to return from nearest board 2023-02-27 11:52:55 -08:00
Alexander Wang
b41baddcee
pr comments 2023-02-14 21:26:29 -08:00
Alexander Wang
34b839c7bd
combine resolveUnderscore and trimCommon 2023-02-14 21:06:57 -08:00
Alexander Wang
40b4879f47
fix underscore bug in compiler 2023-02-14 16:45:55 -08:00
Alexander Wang
ef1dc4612d
check root another way 2023-02-09 19:02:21 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Anmol Sethi
f056700152
d2ir: Review fixes #714 2023-01-27 17:19:12 -08:00
Anmol Sethi
dce4385644
d2ir: Review fixes #714 2023-01-27 12:37:08 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -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
b900f63414
d2compiler: Integrate d2ir (wip) 2023-01-24 03:24:31 -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
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
6e04ebb304
d2ir: IR Root wip 2023-01-24 03:24:22 -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
33ae53dc75
d2ir: IR Root wip 2023-01-24 03:24:14 -08:00
Anmol Sethi
5741e0a4f9
d2ir: IR Root wip 2023-01-24 03:24:13 -08:00
Anmol Sethi
25ea89fea3
d2ir: IR Root wip 2023-01-24 03:24:12 -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
7721c8b2b4
d2ir: References wip 2023-01-24 03:24:09 -08:00
Anmol Sethi
0a19aeb367
d2ir: References wip 2023-01-24 03:24:09 -08:00
Anmol Sethi
10ca5e2ce1
d2ir: Add d2ir -> d2ast for stringifying the IR 2023-01-24 03:24:09 -08:00
Anmol Sethi
61aef74975
d2ir: wip 2023-01-24 03:23:27 -08:00
Anmol Sethi
989fdb0fe5
d2ir: wip 2023-01-24 03:23:17 -08:00
Anmol Sethi
fd241e4425
d2ir: wip 2023-01-24 03:23:15 -08:00
Anmol Sethi
83ef53dc40
d2ir: wip 2023-01-24 02:57:32 -08:00
Anmol Sethi
a277d10dda
d2ir: Import and cleanup
Test files still need cleanup.
2023-01-24 02:56:31 -08:00