Commit graph

31 commits

Author SHA1 Message Date
1e6d8ca3d8
update tree-sitter deps 2024-07-12 20:36:24 +03:00
e7507ddd98
grammar: add support of referencing connection
Closes #18
2023-06-22 02:12:18 +03:00
731be00903
grammar: some cleanup 2023-06-21 23:52:40 +03:00
6b5e1d9123
grammar: don't use immediate token in the escape sequence...
to fix first character in the connection path shape key

Related #21
2023-06-21 17:49:14 +03:00
fdcb5613a5
grammar: fix unquoted shape identifier with escape sequence
Closes #21
2023-06-21 17:37:14 +03:00
0003298cb8
grammar: add support of list variables
Closes #16
2023-06-21 16:51:47 +03:00
8a9d50043d
grammar: some cleanup 2023-06-21 12:16:49 +03:00
9828b023cd
grammar: add support of underscore keyword...
...to ref the parent container

Closes #5
2023-06-16 07:42:49 +03:00
8aac147e8e
grammar: add support of near attribute
grammar: add more utils

Closes #2
2023-06-16 06:37:19 +03:00
37230c006f
grammar: add support of font attribute 2023-06-16 05:20:03 +03:00
eec6b0d050
update wasm 2023-06-16 05:15:10 +03:00
1f771e72af
grammar: add fill-pattern style attribute
Closes #9
2023-03-21 10:25:22 +03:00
6a04387009
grammar: add link and tooltip attributes
Closes #18
2023-01-05 16:53:43 +03:00
b9fa5785b4
grammar: add escape sequence for unquoted string
Closes #8
2023-01-05 16:28:22 +03:00
7a053d6bf1
fix parsing single-line block
Closes #11
2022-12-13 16:41:34 +03:00
fc3754658c
remove escape sequence for single quoted string 2022-12-11 14:16:23 +03:00
16d8b4c5f7
remove unnecessary choice 2022-12-10 23:09:11 +03:00
5eb0507baa
Add support of any escape character in text block
See more here https://github.com/terrastruct/d2/issues/420
2022-12-10 22:56:41 +03:00
24cdec0cb3
improve strings and scanner for text block 2022-12-10 05:23:27 +03:00
84103fee37
fix available characters in the identifier 2022-12-09 23:56:54 +03:00
99d9fbbf63
add language injections
Closes #6
2022-12-09 18:21:55 +03:00
d230155d48
add text block
Closes #3
2022-12-09 16:09:10 +03:00
612b7fb871
fix unquoted strings and identifiers 2022-12-09 15:02:21 +03:00
6ec0bb5c59
add attributes for connections
Closes #5
2022-12-09 14:09:39 +03:00
095dd7d8f3
handle end of file
Closes #1
2022-12-09 12:54:11 +03:00
be8db7ca48 Add structure for container and shapes (#1)
![image](/attachments/5bf879cc-b94c-414e-b69b-92cbc018671e)

Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Reviewed-on: #1
2022-12-09 12:36:31 +03:00
7d4799f08a
add highlight tests for connections 2022-12-08 01:37:35 +03:00
6835da6d3c
add container key 2022-12-08 01:15:09 +03:00
2871ceb718
add support of shape path 2022-12-07 23:14:25 +03:00
867ed6662b
add invalid attributes 2022-12-07 18:52:19 +03:00
0cbd3f0dd6
add command to open playground 2022-12-07 15:30:45 +03:00