Anmol Sethi
aba28d365a
d2ir: More alixander identified lazy glob bugs
2023-08-30 00:37:03 -07:00
Anmol Sethi
d90f8253df
d2ir: Fix lazy globs being applied in reverse
2023-08-30 00:37:03 -07:00
Anmol Sethi
8455a7da8d
d2ir: Fix another lazy glob bug found by Alex
2023-08-30 00:37:03 -07:00
Anmol Sethi
a24716d1f1
d2ir: Fix infinite loop in triple globs
2023-08-30 00:37:03 -07:00
Anmol Sethi
89b400b8f1
d2ir: Alixander review lazy glob fixes
2023-08-30 00:37:03 -07:00
Anmol Sethi
507b2d622e
d2ir: Add IDA support for edges
...
Not perfectly robust but good enough for now without massive refactor.
2023-08-30 00:37:03 -07:00
Anmol Sethi
bb6b176dee
d2ir: Implement lazy globs and triple glob
...
This finishes up the globs implementation!
See tests for what I mean by lazy globs and what the triple glob does.
2023-08-30 00:37:03 -07:00
Anmol Sethi
6ca36e6b0c
d2ir: Glob review fixes
2023-07-30 12:41:15 -07:00
Anmol Sethi
6fdf4b07a5
d2ir: Make double globs work sanely across boards
...
See test.
2023-07-30 03:15:33 -07:00
Anmol Sethi
9c37d6dcfb
d2ir: Make globs more ergonomic in two specific edge cases
...
Were identified from @alixander writing documentation.
2023-07-30 01:27:49 -07:00
Anmol Sethi
82663f0445
d2ir: Explain EnsureField misnomer
2023-07-29 16:57:25 -07:00
Anmol Sethi
95667750e0
d2ir: Fix and add test for glob-edge-glob-index
2023-07-29 16:57:25 -07:00
Anmol Sethi
b119174a09
d2ir: Fix implementation of Map.createEdge
2023-07-29 16:57:25 -07:00
Anmol Sethi
0d2b0aa99c
d2ir: Implement edge index globs
2023-07-29 16:57:25 -07:00
Anmol Sethi
d9b4b952ee
d2ir: Implement double globs
2023-07-29 16:57:25 -07:00
Anmol Sethi
1217ff35a7
d2ir: Add single glob matching to edges and make it work fully recursively
2023-07-29 16:57:25 -07:00
Alexander Wang
fb0c0d20ed
nested null
2023-07-13 10:22:37 -07:00
Alexander Wang
db051a95b6
pr fixes
2023-07-03 15:58:22 -07:00
Alexander Wang
0749d4fb41
attribute
2023-06-26 12:15:24 -07:00
Alexander Wang
1acc3d685a
new implementation
2023-06-26 11:57:18 -07:00
Alexander Wang
5be1f6c187
cleanup
2023-06-26 10:39:38 -07:00
Alexander Wang
09d1ec6314
reimplement
2023-06-25 23:10:56 -07:00
Alexander Wang
16a879e05b
cleanup
2023-06-20 18:56:04 -07:00
Alexander Wang
9351a2e2cd
cleanup
2023-06-20 18:56:04 -07:00
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
Alexander Wang
64daf4643f
use right AST
2023-06-16 16:23:57 -07:00
Alexander Wang
69f40ae9fb
fix
2023-05-31 23:28:33 -07:00
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